Codechange: migrate size related functions to Map structure
This commit is contained in:
@@ -20,17 +20,17 @@
|
||||
|
||||
/* static */ TileIndex ScriptMap::GetMapSize()
|
||||
{
|
||||
return ::MapSize();
|
||||
return ::Map::Size();
|
||||
}
|
||||
|
||||
/* static */ uint32 ScriptMap::GetMapSizeX()
|
||||
{
|
||||
return ::MapSizeX();
|
||||
return ::Map::SizeX();
|
||||
}
|
||||
|
||||
/* static */ uint32 ScriptMap::GetMapSizeY()
|
||||
{
|
||||
return ::MapSizeY();
|
||||
return ::Map::SizeY();
|
||||
}
|
||||
|
||||
/* static */ int32 ScriptMap::GetTileX(TileIndex t)
|
||||
|
Reference in New Issue
Block a user