From a5d34f62d32640dd449c8db23f41f0c571f372ed Mon Sep 17 00:00:00 2001 From: Dominik Geyer Date: Sun, 5 Oct 2008 10:36:13 +0000 Subject: fixed compiler warnings --- src/game/server/entities/character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit 1.4.1