diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-21 19:05:35 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-21 19:05:35 +0000 |
| commit | 48d4aa0e89df0160437bafa71b0f51e61ea0e727 (patch) | |
| tree | e7b44ee4ead2f8d811d872d661cfeaacea730f73 /src/game/server/gs_game.cpp | |
| parent | 45a047ce478e31297eba35e2e3121b25cabeae12 (diff) | |
| download | zcatch-48d4aa0e89df0160437bafa71b0f51e61ea0e727.tar.gz zcatch-48d4aa0e89df0160437bafa71b0f51e61ea0e727.zip | |
added the rifle to the maps and removed it from the starting inventory
Diffstat (limited to 'src/game/server/gs_game.cpp')
| -rw-r--r-- | src/game/server/gs_game.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/server/gs_game.cpp b/src/game/server/gs_game.cpp index 74bb8569..6482fc3d 100644 --- a/src/game/server/gs_game.cpp +++ b/src/game/server/gs_game.cpp @@ -65,6 +65,11 @@ bool gameobject::on_entity(int index, vec2 pos) type = POWERUP_WEAPON; subtype = WEAPON_GRENADE; } + else if(index == ENTITY_WEAPON_RIFLE) + { + type = POWERUP_WEAPON; + subtype = WEAPON_RIFLE; + } else if(index == ENTITY_POWERUP_NINJA) { type = POWERUP_NINJA; |