about summary refs log tree commit diff
path: root/src/game/server/entities
diff options
context:
space:
mode:
authorDominik Geyer <dominik.geyer@gmx.de>2008-10-05 10:36:13 +0000
committerDominik Geyer <dominik.geyer@gmx.de>2008-10-05 10:36:13 +0000
commita5d34f62d32640dd449c8db23f41f0c571f372ed (patch)
tree0ee7f22830b6330f510e9973c73f8b984e3039fe /src/game/server/entities
parentfaa96f6d3a7c0e66503faf413b6df41c369d62aa (diff)
downloadzcatch-a5d34f62d32640dd449c8db23f41f0c571f372ed.tar.gz
zcatch-a5d34f62d32640dd449c8db23f41f0c571f372ed.zip
fixed compiler warnings
Diffstat (limited to 'src/game/server/entities')
-rw-r--r--src/game/server/entities/character.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp
index df3e7666..071407b1 100644
--- a/src/game/server/entities/character.cpp
+++ b/src/game/server/entities/character.cpp
@@ -596,7 +596,7 @@ void CHARACTER::tick()
 	core.input = input;
 	core.tick(true);
 	
-	if(col_get(pos.x, pos.y)&COLFLAG_DEATH)
+	if(col_get((int)pos.x, (int)pos.y)&COLFLAG_DEATH)
 		die(player->client_id, -1);
 
 	// handle weapons