\r
contentalpha_temp = bound(0, drawframetime / max(0.0001, contentfadetime), 1);\r
contentavgalpha = contentavgalpha * (1 - contentalpha_temp) + incontent * contentalpha_temp;\r
- \r
+\r
if(contentavgalpha)\r
drawfill('0 0 0', '1 0 0' * vid_conwidth + '0 1 0' * vid_conheight, liquidcolor_prev, contentavgalpha * liquidalpha_prev, DRAWFLAG_NORMAL);\r
\r
{\r
switch(i)\r
{\r
- case 0: return "gfx/hud/sb_fuel";\r
- default: return "";\r
+ case 0:\r
+ if(getstati(STAT_ITEMS) & IT_FUEL_REGEN)\r
+ return "gfx/hud/sb_fuel_regen";\r
+ else\r
+ return "gfx/hud/sb_fuel";\r
+ default:\r
+ return "";\r
}\r
}\r
\r