Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Core/GameEngine/Source/GameNetwork/NetPacket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ UnsignedInt NetPacket::GetBufferSizeNeededForCommand(NetCommandMsg *msg) {
// This is where the fun begins...

if (msg == nullptr) {
return TRUE; // There was nothing to add, so it was successful.
return 0; // There was nothing to add.
}
// Use the virtual function for all command message types
return msg->getPackedByteCount();
Expand Down
Loading