forked from mirror/OpenTTD
(svn r4249) -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty
This commit is contained in:
@@ -228,7 +228,7 @@ void UpdateTownVirtCoord(Town *t)
|
||||
Point pt;
|
||||
|
||||
MarkTownSignDirty(t);
|
||||
pt = RemapCoords2(TileX(t->xy) * 16, TileY(t->xy) * 16);
|
||||
pt = RemapCoords2(TileX(t->xy) * TILE_SIZE, TileY(t->xy) * TILE_SIZE);
|
||||
SetDParam(0, t->index);
|
||||
SetDParam(1, t->population);
|
||||
UpdateViewportSignPos(&t->sign, pt.x, pt.y - 24,
|
||||
|
Reference in New Issue
Block a user