diff options
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/server/entities/character.cpp | 2 |
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 |