about summary refs log tree commit diff
path: root/src/game/server/player.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-01-19 18:27:50 +0100
committeroy <Tom_Adams@web.de>2011-01-19 18:27:50 +0100
commit19a9462fe88b2573ab9f24a2890d4affb2bdcf47 (patch)
tree699ea43000384716ef42843b2f2a7f33010f9a67 /src/game/server/player.cpp
parent7ca7c95bc0d29aca731838d9c404c038cbc15599 (diff)
downloadzcatch-19a9462fe88b2573ab9f24a2890d4affb2bdcf47.tar.gz
zcatch-19a9462fe88b2573ab9f24a2890d4affb2bdcf47.zip
removed double entity list in gameworld and cleaned up connected stuff
Diffstat (limited to 'src/game/server/player.cpp')
-rw-r--r--src/game/server/player.cpp2
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)
 	{