mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-13 02:52:37 +00:00
(svn r23161) -Fix (r23154): don't convert pointer to bool but actually check the grf_version variable
This commit is contained in:
parent
6a272233b3
commit
4d2ca18ee1
@ -195,7 +195,7 @@ static uint32 AirportTileGetVariable(const ResolverObject *object, byte variable
|
||||
case 0x44: return GetAnimationFrame(tile);
|
||||
|
||||
/* Land info of nearby tiles */
|
||||
case 0x60: return GetNearbyAirportTileInformation(parameter, tile, st->index, object->grffile);
|
||||
case 0x60: return GetNearbyAirportTileInformation(parameter, tile, st->index, object->grffile->grf_version >= 8);
|
||||
|
||||
/* Animation stage of nearby tiles */
|
||||
case 0x61:
|
||||
|
Loading…
Reference in New Issue
Block a user