Codechange: make use of Tile in for all direct map accesses

This commit is contained in:
Rubidium
2023-01-21 16:40:28 +01:00
committed by rubidium42
parent 7a6452d3ef
commit 580d0a6343
30 changed files with 963 additions and 946 deletions

View File

@@ -61,7 +61,7 @@ uint16 Object::counts[NUM_OBJECTS];
* @pre IsTileType(t, MP_OBJECT)
* @return the type.
*/
ObjectType GetObjectType(TileIndex t)
ObjectType GetObjectType(Tile t)
{
assert(IsTileType(t, MP_OBJECT));
return Object::GetByTile(t)->type;