(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user