1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-23 12:14:11 +01:00

(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 26239c3d89
commit 51fe741987
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);