about summary refs log tree commit diff
path: root/src/game/server/gs_game.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-29 12:04:14 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-29 12:04:14 +0000
commit68b3c9843acb9ddf2e96d625fbb4db6ddbbfc02a (patch)
tree162de60c51479d4f8042b86a2c7050a0f73d537a /src/game/server/gs_game.cpp
parent6349abcbdd211fc21d0d7bacf21265a0121fb2a9 (diff)
downloadzcatch-68b3c9843acb9ddf2e96d625fbb4db6ddbbfc02a.tar.gz
zcatch-68b3c9843acb9ddf2e96d625fbb4db6ddbbfc02a.zip
fixed the extra *** in when changing name. fixed so that sv_powerups works
Diffstat (limited to 'src/game/server/gs_game.cpp')
-rw-r--r--src/game/server/gs_game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/gs_game.cpp b/src/game/server/gs_game.cpp
index 833bad4a..c94a1417 100644
--- a/src/game/server/gs_game.cpp
+++ b/src/game/server/gs_game.cpp
@@ -70,7 +70,7 @@ bool gameobject::on_entity(int index, vec2 pos)
 		type = POWERUP_WEAPON;
 		subtype = WEAPON_RIFLE;
 	}
-	else if(index == ENTITY_POWERUP_NINJA)
+	else if(index == ENTITY_POWERUP_NINJA && config.sv_powerups)
 	{
 		type = POWERUP_NINJA;
 		subtype = WEAPON_NINJA;