mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
added option for disabling powerups
This commit is contained in:
parent
55ddcb907c
commit
482058e60c
|
@ -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)
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue