Update existing assertions to log tile information where suitable
This commit is contained in:
@@ -54,7 +54,7 @@ static inline bool IsDepotTile(TileIndex tile)
|
||||
static inline DepotID GetDepotIndex(TileIndex t)
|
||||
{
|
||||
/* Hangars don't have a Depot class, thus store no DepotID. */
|
||||
assert(IsRailDepotTile(t) || IsRoadDepotTile(t) || IsShipDepotTile(t));
|
||||
assert_tile(IsRailDepotTile(t) || IsRoadDepotTile(t) || IsShipDepotTile(t), t);
|
||||
return _m[t].m2;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user