Show error message instead of aborting when loading an invalid map size.

This commit is contained in:
Jonathan G Rennison
2015-09-12 13:33:35 +01:00
parent 1891e7dfc8
commit f27ca88596
3 changed files with 24 additions and 7 deletions

View File

@@ -43,6 +43,7 @@ extern Tile *_m;
*/
extern TileExtended *_me;
bool ValidateMapSize(uint size_x, uint size_y);
void AllocateMap(uint size_x, uint size_y);
/**