From 123c5b5b9962f4af04ae2a0ca72fec668a1bea1e Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Mon, 12 Jan 2009 21:41:16 +0000 Subject: introduced 3 special pseudo weapons. game, self and world to make a difference on how you got killed --- src/game/server/entities/character.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game/server/entities/character.cpp') diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index 479b1243..3bbe8670 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -550,7 +550,9 @@ void CHARACTER::tick() col_get((int)(pos.x+phys_size/2), (int)(pos.y+phys_size/2))&COLFLAG_DEATH || col_get((int)(pos.x-phys_size/2), (int)(pos.y-phys_size/2))&COLFLAG_DEATH || col_get((int)(pos.x-phys_size/2), (int)(pos.y+phys_size/2))&COLFLAG_DEATH) - die(player->client_id, -1); + { + die(player->client_id, WEAPON_WORLD); + } // handle weapons handle_weapons(); -- cgit 1.4.1