mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Use constant instead magic value
This commit is contained in:
parent
b57ed2c119
commit
e2359b01ea
@ -715,7 +715,7 @@ void Networking::newPlayer(RakNet::RakNetGUID guid)
|
||||
if (pl->first == guid.g) continue;
|
||||
|
||||
// If an invalid key makes it into the Players map, ignore it
|
||||
else if (pl->first == -1) continue;
|
||||
else if (pl->first == RakNet::UNASSIGNED_RAKNET_GUID.g) continue;
|
||||
|
||||
// If we are iterating over a player who has inputted their name, proceed
|
||||
else if (pl->second->getLoadState() == Player::POSTLOADED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user