From 48d4aa0e89df0160437bafa71b0f51e61ea0e727 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Fri, 21 Mar 2008 19:05:35 +0000 Subject: added the rifle to the maps and removed it from the starting inventory --- src/game/server/gs_game.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/server/gs_game.cpp') 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; -- cgit 1.4.1