mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r27267) -Change: [NewGRF] Translate industry variable A6.
This commit is contained in:
parent
386e2ad14a
commit
c2b6a9bb56
|
@ -354,7 +354,7 @@ static uint32 GetCountAndDistanceOfClosestInstance(byte param_setID, byte layout
|
|||
case 0xA4: return this->industry->last_month_transported[1];
|
||||
case 0xA5: return GB(this->industry->last_month_transported[1], 8, 8);
|
||||
|
||||
case 0xA6: return this->industry->type;
|
||||
case 0xA6: return indspec->grf_prop.local_id;
|
||||
case 0xA7: return this->industry->founder;
|
||||
case 0xA8: return this->industry->random_colour;
|
||||
case 0xA9: return Clamp(this->industry->last_prod_year - ORIGINAL_BASE_YEAR, 0, 255);
|
||||
|
|
Loading…
Reference in New Issue