]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix gravity check in menu
authorRudolf Polzer <divverent@xonotic.org>
Mon, 16 Sep 2013 04:44:10 +0000 (06:44 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 16 Sep 2013 04:44:10 +0000 (06:44 +0200)
qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.c

index 5ba3733f012f4bcfb3d39dd3c9ee169d0da25ae3..18c376b503dda2463b9b3f776de54e66048ad2ed 100644 (file)
@@ -80,7 +80,7 @@ string XonoticMutatorsDialog_toString(entity me)
                s = strcat(s, ", ", WeaponArenaString());
        if(cvar("g_start_weapon_laser") == 0)
                s = strcat(s, ", ", _("No start weapons"));
-       if(cvar("sv_gravity") < 800)
+       if(cvar("sv_gravity") < stof(cvar_defstring("sv_gravity")))
                s = strcat(s, ", ", _("Low gravity"));
        if(cvar("g_cloaked"))
                s = strcat(s, ", ", _("Cloaked"));