forked from mirror/OpenTTD
(svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY]
This commit is contained in:
@@ -1410,7 +1410,7 @@ void DeleteTown(Town *t)
|
||||
DoCommandByTile(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR);
|
||||
}
|
||||
}
|
||||
} while (++tile != TILES_X * TILES_Y);
|
||||
} while (++tile != MapSize());
|
||||
|
||||
t->xy = 0;
|
||||
DeleteName(t->townnametype);
|
||||
|
Reference in New Issue
Block a user