]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Check directly the cvar hud_panel_powerups_flip
authorterencehill <piuntn@gmail.com>
Thu, 25 Nov 2010 22:54:16 +0000 (23:54 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 25 Nov 2010 22:54:16 +0000 (23:54 +0100)
qcsrc/client/hud.qc

index 2bded04928ba4c8134bdbe8c98fef266afb8296f..0051a214c9b97a7bff7c8de458b1bb645b2fadb3 100644 (file)
@@ -2137,8 +2137,7 @@ void HUD_Powerups(void) {
        string leftname, rightname;
        float leftcnt, rightcnt;
        float leftexact, rightexact;
-       float flip = cvar("hud_panel_powerups_flip");
-       if (flip) {
+       if (cvar("hud_panel_powerups_flip")) {
                leftname = "strength";
                leftcnt = ceil(strength_time);
                leftexact = strength_time;