mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r11398) -Fix [FS#1414]: industry variables 67 and 68 return was incorrect
This commit is contained in:
parent
e4aec527e0
commit
3a84801f55
@ -157,6 +157,7 @@ static uint32 GetCountAndDistanceOfClosestInstance(byte param_setID, byte layout
|
||||
/* Fall through */
|
||||
|
||||
default: //use the grfid specified in register 100h
|
||||
SETBIT(param_setID, 7); // bit 7 means it is not an old type
|
||||
ind_index = MapNewGRFIndustryType(param_setID, GrfID);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user