aspect fixing on engineinfo panel, broken_panel_cnt -= 1; :D
authorFruitieX <rasse@rasse-lappy.localdomain>
Fri, 18 Jun 2010 20:11:59 +0000 (23:11 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Fri, 18 Jun 2010 20:11:59 +0000 (23:11 +0300)
qcsrc/client/hud.qc

index f3a4fe5..f6ba439 100644 (file)
@@ -4241,7 +4241,7 @@ void HUD_EngineInfo(void)
 
        vector color;
        color = HUD_Get_Num_Color (prevfps, 100);
-       drawstring(pos, strcat("FPS: ", ftos_decimals(prevfps, cvar("hud_engineinfo_framecounter_decimals"))), '1 1 0' * mySize_y, color, HUD_Panel_GetFgAlpha(id), DRAWFLAG_NORMAL);
+       drawstring_aspect(pos, strcat("FPS: ", ftos_decimals(prevfps, cvar("hud_engineinfo_framecounter_decimals"))), mySize, mySize_y, color, HUD_Panel_GetFgAlpha(id), DRAWFLAG_NORMAL);
 }
 /*
 ==================