diff options
Diffstat (limited to 'src/game/server/player.cpp')
| -rw-r--r-- | src/game/server/player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/player.cpp b/src/game/server/player.cpp index cf75615e..3f32d6af 100644 --- a/src/game/server/player.cpp +++ b/src/game/server/player.cpp @@ -208,7 +208,7 @@ void CPlayer::TryRespawn() // check if the position is occupado CEntity *apEnts[2] = {0}; - int NumEnts = GameServer()->m_World.FindEntities(SpawnPos, 64, apEnts, 2, NETOBJTYPE_CHARACTER); + int NumEnts = GameServer()->m_World.FindEntities(SpawnPos, 64, apEnts, 2, CGameWorld::ENTTYPE_CHARACTER); if(NumEnts == 0) { |