diff options
author | frosch <frosch@openttd.org> | 2011-11-08 17:29:01 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-11-08 17:29:01 +0000 |
commit | 8f4c6d42f90dc6bda68c803bebec48a9382eb675 (patch) | |
tree | b2c9b3e4e53cfcb2433ea5acb4553c7516ae2d0a /src/newgrf_industries.cpp | |
parent | 5aaecae6e2ea2c2236375274439645e669081328 (diff) | |
download | openttd-8f4c6d42f90dc6bda68c803bebec48a9382eb675.tar.xz |
(svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info variables. (rubidium)
Diffstat (limited to 'src/newgrf_industries.cpp')
-rw-r--r-- | src/newgrf_industries.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp index 4d61dd4bf..eedb5c17b 100644 --- a/src/newgrf_industries.cpp +++ b/src/newgrf_industries.cpp @@ -251,7 +251,7 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, uint32 p return (IsTileType(tile, MP_INDUSTRY) && Industry::GetByTile(tile) == industry) ? GetIndustryRandomBits(tile) : 0; /* Land info of nearby tiles */ - case 0x62: return GetNearbyIndustryTileInformation(parameter, tile, INVALID_INDUSTRY, false); + case 0x62: return GetNearbyIndustryTileInformation(parameter, tile, INVALID_INDUSTRY, false, object->grffile->grf_version >= 8); /* Animation stage of nearby tiles */ case 0x63: |