Some code updates

This commit is contained in:
GabsPuNs
2026-04-09 00:57:05 -04:00
parent fb12bc0860
commit abd2d848cf
59 changed files with 241 additions and 257 deletions

View File

@@ -16,7 +16,7 @@ SetRidingPacket::SetRidingPacket()
SetRidingPacket::SetRidingPacket(shared_ptr<Entity> rider, shared_ptr<Entity> riding)
{
this->riderId = rider->entityId;
this->riddenId = riding != NULL ? riding->entityId : -1;
this->riddenId = riding != nullptr ? riding->entityId : -1;
}
int SetRidingPacket::getEstimatedSize()