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.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/game/server/entities/character.hpp') diff --git a/src/game/server/entities/character.hpp b/src/game/server/entities/character.hpp index bfb9d8c2..bd2f7afe 100644 --- a/src/game/server/entities/character.hpp +++ b/src/game/server/entities/character.hpp @@ -9,6 +9,13 @@ #include +enum +{ + WEAPON_GAME = -3, // team switching etc + WEAPON_SELF = -2, // console kill command + WEAPON_WORLD = -1, // death tiles etc +}; + class CHARACTER : public ENTITY { MACRO_ALLOC_POOL_ID() -- cgit 1.4.1