forked from mirror/OpenTTD
(svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
This commit is contained in:
@@ -186,7 +186,7 @@ void UpdateTownVirtCoord(Town *t)
|
||||
Point pt;
|
||||
|
||||
MarkTownSignDirty(t);
|
||||
pt = RemapCoords2(GET_TILE_X(t->xy)*16, GET_TILE_Y(t->xy)*16);
|
||||
pt = RemapCoords2(TileX(t->xy) * 16, TileY(t->xy) * 16);
|
||||
SetDParam(0, t->townnametype);
|
||||
SetDParam(1, t->townnameparts);
|
||||
SetDParam(2, t->population);
|
||||
|
Reference in New Issue
Block a user