From: Rudolf Polzer Date: Tue, 18 Jan 2011 09:44:39 +0000 (+0100) Subject: get rid of the old _cl_name checking hack as we have the first-run dialog now X-Git-Tag: xonotic-v0.5.0~318^2~52 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7998c8a52067e569a989a5799098e65e00521319;p=xonotic%2Fxonotic-data.pk3dir.git get rid of the old _cl_name checking hack as we have the first-run dialog now --- diff --git a/qcsrc/menu/xonotic/dialog_multiplayer.c b/qcsrc/menu/xonotic/dialog_multiplayer.c index e57ecce29..2492581d0 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer.c +++ b/qcsrc/menu/xonotic/dialog_multiplayer.c @@ -16,13 +16,9 @@ void XonoticMultiplayerDialog_fill(entity me) mc = makeXonoticTabController(me.rows - 2); me.TR(me); me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Servers"), makeXonoticServerListTab())); - setDependentStringNotEqual(e, "_cl_name", "Player"); me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Create"), makeXonoticServerCreateTab())); - setDependentStringNotEqual(e, "_cl_name", "Player"); me.TD(me, 1, 1, mc.makeTabButton(mc, _("Demos"), makeXonoticDemoBrowserTab())); me.TD(me, 1, 1, e = mc.makeTabButton(mc, _("Player Setup"), makeXonoticPlayerSettingsTab())); - if(cvar_string("_cl_name") == "Player") - e.onClick(e, e.onClickEntity); // lol animation me.TR(me); me.TR(me);