(svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up.

This commit is contained in:
peter1138
2011-11-24 17:37:20 +00:00
parent 64559ea8d3
commit 0043123c33
4 changed files with 5 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ void Sign::UpdateVirtCoord()
{
Point pt = RemapCoords(this->x, this->y, this->z);
SetDParam(0, this->index);
this->sign.UpdatePosition(pt.x, pt.y - 6, STR_WHITE_SIGN);
this->sign.UpdatePosition(pt.x, pt.y - 6 * ZOOM_LVL_BASE, STR_WHITE_SIGN);
}
/** Update the coordinates of all signs */