diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-15 13:25:10 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-15 13:25:10 +0000 |
| commit | f2611cad8bf1c1f4664ae5f328ffa6934a4d1d16 (patch) | |
| tree | 89d1dd650f4f57428ff87c8771d5b6c3c6c94e19 /src/game | |
| parent | 07c8ff2e537958c6f6217b4fd48ddaa85882e068 (diff) | |
| download | zcatch-f2611cad8bf1c1f4664ae5f328ffa6934a4d1d16.tar.gz zcatch-f2611cad8bf1c1f4664ae5f328ffa6934a4d1d16.zip | |
fixed so that the editor works again
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/game.h | 8 | ||||
| -rw-r--r-- | src/game/server/game_server.cpp | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/game/game.h b/src/game/game.h index 9f5aeda3..917abab1 100644 --- a/src/game/game.h +++ b/src/game/game.h @@ -181,11 +181,7 @@ enum ITEM_WEAPON_ROCKET=0x00010003, ITEM_WEAPON_SNIPER=0x00010004, ITEM_WEAPON_HAMMER=0x00010005, - ITEM_HEALTH_1 =0x00020001, - ITEM_HEALTH_5 =0x00020005, - ITEM_HEALTH_10=0x00020010, - ITEM_ARMOR_1=0x00030001, - ITEM_ARMOR_5=0x00030005, - ITEM_ARMOR_10=0x00030010, + ITEM_HEALTH =0x00020001, + ITEM_ARMOR=0x00030001, ITEM_NINJA=0x00040001, }; diff --git a/src/game/server/game_server.cpp b/src/game/server/game_server.cpp index 8cd36f77..c1f7b3c5 100644 --- a/src/game/server/game_server.cpp +++ b/src/game/server/game_server.cpp @@ -1261,11 +1261,11 @@ void mods_init() subtype = WEAPON_TYPE_MELEE; break; - case ITEM_HEALTH_1: + case ITEM_HEALTH: type = POWERUP_TYPE_HEALTH; break; - case ITEM_ARMOR_1: + case ITEM_ARMOR: type = POWERUP_TYPE_ARMOR; break; }; |