forked from mirror/OpenTTD
Feature: Influence industry production changes from GS (#7912)
This commit is contained in:
committed by
GitHub
parent
547e5fdb65
commit
b7751c483e
@@ -248,6 +248,9 @@ static uint32 GetCountAndDistanceOfClosestInstance(byte param_setID, byte layout
|
||||
|
||||
case 0x46: return this->industry->construction_date; // Date when built - long format - (in days)
|
||||
|
||||
/* Override flags from GS */
|
||||
case 0x47: return this->industry->ctlflags;
|
||||
|
||||
/* Get industry ID at offset param */
|
||||
case 0x60: return GetIndustryIDAtOffset(GetNearbyTile(parameter, this->industry->location.tile, false), this->industry, this->ro.grffile->grfid);
|
||||
|
||||
|
Reference in New Issue
Block a user