Fixed nitro bar for non-HD textures

This commit is contained in:
deve 2016-10-26 13:51:17 +02:00
parent 7505630cd4
commit 8d270e5ff3

View File

@ -453,7 +453,8 @@ void RaceGUI::drawEnergyMeter(int x, int y, const AbstractKart *kart,
(int)offset.Y-gauge_height,
(int)offset.X + gauge_width,
(int)offset.Y) /* dest rect */,
core::rect<s32>(0, 0, 256, 256) /* source rect */,
core::rect<s32>(core::position2d<s32>(0,0),
m_gauge_empty->getSize()) /* source rect */,
NULL /* clip rect */, NULL /* colors */,
true /* alpha */);