mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-31 03:16:29 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -16,7 +16,7 @@ SetEntityLinkPacket::SetEntityLinkPacket(int linkType,
|
||||
std::shared_ptr<Entity> destEntity) {
|
||||
type = linkType;
|
||||
this->sourceId = sourceEntity->entityId;
|
||||
this->destId = destEntity != NULL ? destEntity->entityId : -1;
|
||||
this->destId = destEntity != nullptr ? destEntity->entityId : -1;
|
||||
}
|
||||
|
||||
int SetEntityLinkPacket::getEstimatedSize() { return 8; }
|
||||
|
||||
Reference in New Issue
Block a user