From 3e1d07041350c923d08275a22b0745a0edc4cbfc Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 24 Nov 2011 17:37:20 +0000 Subject: (svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up. --- src/station_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/station_cmd.cpp') 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); -- cgit v1.2.3-54-g00ecf