(svn r26951) -Codechange: Do the GUI-scale dance for vehicle, depot, and purchase lists.

This commit is contained in:
peter1138
2014-10-04 16:40:23 +00:00
parent 587ad940cc
commit ce9fab58bc
10 changed files with 73 additions and 56 deletions

View File

@@ -207,7 +207,7 @@ void DrawAircraftEngine(int left, int right, int preferred_x, int y, EngineID en
if (!(AircraftVehInfo(engine)->subtype & AIR_CTOL)) {
SpriteID rotor_sprite = GetCustomRotorIcon(engine, image_type);
if (rotor_sprite == 0) rotor_sprite = SPR_ROTOR_STOPPED;
DrawSprite(rotor_sprite, PAL_NONE, preferred_x, y - 5);
DrawSprite(rotor_sprite, PAL_NONE, preferred_x, y - UnScaleByZoom(4 * 5, ZOOM_LVL_GUI));
}
}