GRF: Use access mask when evaluating get nearby tile information variable
This commit is contained in:
@@ -264,7 +264,7 @@ static uint32 GetCountAndDistanceOfClosestInstance(byte param_setID, byte layout
|
||||
/* Land info of nearby tiles */
|
||||
case 0x62:
|
||||
if (this->tile == INVALID_TILE) break;
|
||||
return GetNearbyIndustryTileInformation(parameter, this->tile, INVALID_INDUSTRY, false, this->ro.grffile->grf_version >= 8);
|
||||
return GetNearbyIndustryTileInformation(parameter, this->tile, INVALID_INDUSTRY, false, this->ro.grffile->grf_version >= 8, extra->mask);
|
||||
|
||||
/* Animation stage of nearby tiles */
|
||||
case 0x63: {
|
||||
|
Reference in New Issue
Block a user