added option for disabling powerups

This commit is contained in:
Magnus Auvinen 2007-12-08 16:03:43 +00:00
parent 55ddcb907c
commit 482058e60c
2 changed files with 6 additions and 2 deletions

View file

@ -34,6 +34,7 @@ MACRO_CONFIG_INT(cl_predict, 1, 0, 1)
MACRO_CONFIG_INT(cl_nameplates, 0, 0, 2)
MACRO_CONFIG_STR(sv_maprotation, 512, "")
MACRO_CONFIG_INT(sv_powerups, 1, 0, 1)
MACRO_CONFIG_INT(dynamic_camera, 1, 0, 1)

View file

@ -1735,8 +1735,11 @@ void mods_init()
break;
case ITEM_NINJA:
type = POWERUP_NINJA;
subtype = WEAPON_NINJA;
if(config.sv_powerups)
{
type = POWERUP_NINJA;
subtype = WEAPON_NINJA;
}
break;
};