forked from mirror/OpenTTD
(svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up.
This commit is contained in:
@@ -355,7 +355,7 @@ void Town::UpdateVirtCoord()
|
||||
Point pt = RemapCoords2(TileX(this->xy) * TILE_SIZE, TileY(this->xy) * TILE_SIZE);
|
||||
SetDParam(0, this->index);
|
||||
SetDParam(1, this->population);
|
||||
this->sign.UpdatePosition(pt.x, pt.y - 24,
|
||||
this->sign.UpdatePosition(pt.x, pt.y - 24 * ZOOM_LVL_BASE,
|
||||
_settings_client.gui.population_in_label ? STR_VIEWPORT_TOWN_POP : STR_VIEWPORT_TOWN);
|
||||
|
||||
SetWindowDirty(WC_TOWN_VIEW, this->index);
|
||||
|
Reference in New Issue
Block a user