get rid of the old _cl_name checking hack as we have the first-run dialog now
authorRudolf Polzer <divVerent@xonotic.org>
Tue, 18 Jan 2011 09:44:39 +0000 (10:44 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 18 Jan 2011 09:44:39 +0000 (10:44 +0100)
qcsrc/menu/xonotic/dialog_multiplayer.c

index e57ecce29f5786d62d21efd11768f99b59a53ca9..2492581d0603178b2b43dd9b372b38e57c7f667f 100644 (file)
@@ -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);