about summary refs log tree commit diff
path: root/src/game/server/gs_game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/server/gs_game.cpp')
-rw-r--r--src/game/server/gs_game.cpp5
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;