(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it

This commit is contained in:
rubidium
2011-11-04 10:22:27 +00:00
parent a36551dbb4
commit 2ed0f93bfb
18 changed files with 66 additions and 66 deletions

View File

@@ -289,7 +289,7 @@ static uint32 ObjectGetVariable(const ResolverObject *object, byte variable, byt
}
/* Tile information. */
case 0x41: return GetTilePixelSlope(tile, NULL) << 8 | GetTerrainType(tile);
case 0x41: return GetTileSlope(tile) << 8 | GetTerrainType(tile);
/* Construction date */
case 0x42: return o->build_date;