From: terencehill Date: Thu, 25 Nov 2010 22:54:16 +0000 (+0100) Subject: Check directly the cvar hud_panel_powerups_flip X-Git-Tag: xonotic-v0.5.0~386 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3fc1ab2cbf45a6a375ae7f1944d173d1224767e6;p=xonotic%2Fxonotic-data.pk3dir.git Check directly the cvar hud_panel_powerups_flip --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 2bded0492..0051a214c 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -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;