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

@@ -58,7 +58,7 @@ bool MoveEntityPacketSmall::canBeInvalidated() { return true; }
bool MoveEntityPacketSmall::isInvalidatedBy(std::shared_ptr<Packet> packet) {
std::shared_ptr<MoveEntityPacketSmall> target =
std::dynamic_pointer_cast<MoveEntityPacketSmall>(packet);
return target != NULL && target->id == id;
return target != nullptr && target->id == id;
}
MoveEntityPacketSmall::PosRot::PosRot() { hasRot = true; }