refactor: replace NULL with nullptr across C++ codebase

Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
MatthewBeshay
2026-03-30 16:25:52 +11:00
parent a330ecdcbb
commit dfb0e3b03e
752 changed files with 5396 additions and 5396 deletions

View File

@@ -52,7 +52,7 @@ void RemotePlayer::tick() {
walkAnimPos += walkAnimSpeed;
if (!hasStartedUsingItem && isUsingItemFlag() &&
inventory->items[inventory->selected] != NULL) {
inventory->items[inventory->selected] != nullptr) {
std::shared_ptr<ItemInstance> item =
inventory->items[inventory->selected];
startUsingItem(inventory->items[inventory->selected],