summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2014-09-22 08:01:25 +0000
committerpeter1138 <peter1138@openttd.org>2014-09-22 08:01:25 +0000
commit51fe741987da095274cd3782ff62371a1126ddb8 (patch)
treeb6b85bfe28aeff152bbb373d07d615641fc65690 /src/rail_cmd.cpp
parent26239c3d89327d2b94210097f90ae3c6dba3dbc7 (diff)
downloadopenttd-51fe741987da095274cd3782ff62371a1126ddb8.tar.xz
(svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom level.
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r--src/rail_cmd.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp
index 2ba00d790..d3093aa7b 100644
--- a/src/rail_cmd.cpp
+++ b/src/rail_cmd.cpp
@@ -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);