From 68b3c9843acb9ddf2e96d625fbb4db6ddbbfc02a Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 29 Mar 2008 12:04:14 +0000 Subject: fixed the extra *** in when changing name. fixed so that sv_powerups works --- src/game/server/gs_game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 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; -- cgit 1.4.1