(svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom level.

This commit is contained in:
peter1138
2014-09-22 08:01:25 +00:00
parent 8a0e523ce5
commit 4f63bbedc1
5 changed files with 74 additions and 20 deletions

View File

@@ -2443,9 +2443,6 @@ void DrawTrainDepotSprite(int x, int y, int dir, RailType railtype)
SpriteID image = rti->UsesOverlay() ? SPR_FLAT_GRASS_TILE : dts->ground.sprite;
uint32 offset = rti->GetRailtypeSpriteOffset();
x += 33;
y += 17;
if (image != SPR_FLAT_GRASS_TILE) image += offset;
PaletteID palette = COMPANY_SPRITE_COLOUR(_local_company);