diff options
author | peter1138 <peter1138@openttd.org> | 2011-11-24 17:37:20 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2011-11-24 17:37:20 +0000 |
commit | 3e1d07041350c923d08275a22b0745a0edc4cbfc (patch) | |
tree | eabbed1e6e2430dd42304425b38c2739118e7706 /src/station_cmd.cpp | |
parent | 7337e7ff49f9a86280114a4796c8eefb0a3c0609 (diff) | |
download | openttd-3e1d07041350c923d08275a22b0745a0edc4cbfc.tar.xz |
(svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index b772da079..bb4595381 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -395,8 +395,8 @@ void Station::UpdateVirtCoord() { Point pt = RemapCoords2(TileX(this->xy) * TILE_SIZE, TileY(this->xy) * TILE_SIZE); - pt.y -= 32; - if ((this->facilities & FACIL_AIRPORT) && this->airport.type == AT_OILRIG) pt.y -= 16; + pt.y -= 32 * ZOOM_LVL_BASE; + if ((this->facilities & FACIL_AIRPORT) && this->airport.type == AT_OILRIG) pt.y -= 16 * ZOOM_LVL_BASE; SetDParam(0, this->index); SetDParam(1, this->facilities); |