From 79993048554ce8f5f537b01411d56a28ac899be1 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 20 Dec 2014 14:10:28 +1100 Subject: [PATCH] Add buffs to the menu --- qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.c b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.c index a22cde1af..368ac1ca5 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.c +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.c @@ -98,6 +98,8 @@ string XonoticMutatorsDialog_toString(entity me) s = strcat(s, ", ", _("Blood loss")); if(cvar("g_jetpack")) s = strcat(s, ", ", _("Jet pack")); + if(cvar("g_buffs")) + s = strcat(s, ", ", _("Buffs")); if(cvar("g_overkill")) s = strcat(s, ", ", _("Overkill")); if(cvar("g_powerups") == 0) @@ -168,6 +170,9 @@ void XonoticMutatorsDialog_fill(entity me) me.TR(me); me.TDempty(me, 0.2); me.TD(me, 1, 1.8, e = makeXonoticCheckBox(0, "g_cloaked", _("Cloaked"))); + me.TR(me); + me.TDempty(me, 0.2); + me.TD(me, 1, 1.8, e = makeXonoticCheckBox(0, "g_buffs", _("Buffs"))); me.TR(me); me.TDempty(me, 0.2); me.TD(me, 1, 1.8, e = makeXonoticCheckBox(0, "g_midair", _("Midair"))); -- 2.39.2