mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-17 20:48:19 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user