about summary refs log tree commit diff
path: root/src/game/server
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-21 20:38:34 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-21 20:38:34 +0000
commit2a12d1c907eb1c8153aa1f13ba94a3ae8091b467 (patch)
treed3efa3f232183041f24f815acb4884172a5acd30 /src/game/server
parentf3167f0cc2b1c4937b0f8ff4a9e1a3d2aee9617a (diff)
downloadzcatch-2a12d1c907eb1c8153aa1f13ba94a3ae8091b467.tar.gz
zcatch-2a12d1c907eb1c8153aa1f13ba94a3ae8091b467.zip
added the shotgun pickup sound to the rifle
Diffstat (limited to 'src/game/server')
-rw-r--r--src/game/server/gs_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/server/gs_server.cpp b/src/game/server/gs_server.cpp
index 7eae91e6..2940400f 100644
--- a/src/game/server/gs_server.cpp
+++ b/src/game/server/gs_server.cpp
@@ -1659,6 +1659,8 @@ void powerup::tick()
 						create_sound(pos, SOUND_PICKUP_GRENADE);
 					else if(subtype == WEAPON_SHOTGUN)
 						create_sound(pos, SOUND_PICKUP_SHOTGUN);
+					else if(subtype == WEAPON_RIFLE)
+						create_sound(pos, SOUND_PICKUP_SHOTGUN);
 
                     send_weapon_pickup(pplayer->client_id, subtype);
 				}