]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Stuff and things
authorSamual <samual@xonotic.org>
Sun, 15 Jan 2012 18:21:34 +0000 (13:21 -0500)
committerSamual <samual@xonotic.org>
Sun, 15 Jan 2012 18:21:34 +0000 (13:21 -0500)
qcsrc/menu/xonotic/dialog_multiplayer_playersetup.c
qcsrc/menu/xonotic/dialog_multiplayer_playersetup_weapons.c

index 54e70d119e857ce56563c4cec973cf18f8bc436d..fe5739b35abf448a1cd13f07713f083923db8a73 100644 (file)
@@ -187,12 +187,7 @@ void XonoticPlayerSettingsTab_fill(entity me)
 }
 void HUDSetup_Join_Click(entity me, entity btn)
 {
-       if not(gamestatus & (GAME_CONNECTED | GAME_ISSERVER))
-       {
-               localcmd("map hudsetup/hudsetup", "\n");
-       }
-       else
-               localcmd("togglemenu 0\n");
+       localcmd("togglemenu 0\n");
        localcmd("_hud_configure 1", "\n");
 }
 #endif
index b55527cf0e81f7be5b0c247edcecc26912dd9734..8edb1e074839a0a2fa887a1ca9cc1d65f616035f 100644 (file)
@@ -67,7 +67,7 @@ void XonoticWeaponsDialog_fill(entity me)
                me.TDempty(me, 0.2);
                me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Scale")));
                setDependent(e, "r_drawviewmodel", 1, 1);
-               me.TD(me, 1, 2, e = makeXonoticSlider(-1, 1, 0.2, "cl_viewmodel_scale"));
+               me.TD(me, 1, 2, e = makeXonoticSlider(0.1, 2, 0.1, "cl_viewmodel_scale"));
                setDependent(e, "r_drawviewmodel", 1, 1);
                        
        me.gotoRC(me, me.rows - 1, 0);