From: Florian Paul Schmidt Date: Sun, 21 Mar 2010 12:49:19 +0000 (+0100) Subject: - added menu entry for dodging mutator X-Git-Tag: xonotic-v0.1.0preview~680^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9234623b4dd531411d15df21f4b9fd0eda0c3bcc;p=xonotic%2Fxonotic-data.pk3dir.git - added menu entry for dodging mutator --- diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.c b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.c index 68cf5b669..12d7e4fcc 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.c +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.c @@ -64,6 +64,8 @@ string toStringXonoticMutatorsDialog(entity me) { string s; s = ""; + if(cvar("g_dodging")) + s = strcat(s, ", Dodging"); if(cvar("g_minstagib")) s = strcat(s, ", MinstaGib"); if(cvar("g_nix")) @@ -162,6 +164,9 @@ void fillXonoticMutatorsDialog(entity me) string str, hstr; me.TR(me); me.TD(me, 1, 2, makeXonoticTextLabel(0, "Gameplay mutators:")); + me.TR(me); + me.TDempty(me, 0.2); + me.TD(me, 1, 2, e = makeXonoticCheckBox(0, "g_dodging", "Dodging")); me.TR(me); me.TDempty(me, 0.2); me.TD(me, 1, 2, e = makeXonoticCheckBox(0, "g_cloaked", "Cloaked"));