diff options
author | rubidium <rubidium@openttd.org> | 2008-01-29 00:36:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-01-29 00:36:55 +0000 |
commit | 3b20e4d09a8e9af358a18e25d759b1be06d8d690 (patch) | |
tree | aa58f2dfe5d8cb2b9ca934a66092611d90ca1f05 /src/newgrf_industries.h | |
parent | 7c310600ba92764f7ff970fd6fb9c1836800024a (diff) | |
download | openttd-3b20e4d09a8e9af358a18e25d759b1be06d8d690.tar.xz |
(svn r12006) -Fix: implement FS#1697 without the nasty side effects as specified in FS#1712.
Diffstat (limited to 'src/newgrf_industries.h')
-rw-r--r-- | src/newgrf_industries.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industries.h b/src/newgrf_industries.h index e98c037b4..9d532fa58 100644 --- a/src/newgrf_industries.h +++ b/src/newgrf_industries.h @@ -30,7 +30,7 @@ uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte par uint16 GetIndustryCallback(CallbackID callback, uint32 param1, uint32 param2, Industry *industry, IndustryType type, TileIndex tile); uint32 GetIndustryIDAtOffset(TileIndex new_tile, const Industry *i); void IndustryProductionCallback(Industry *ind, int reason); -bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index); +bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspec_index, uint32 seed); bool CheckIfCallBackAllowsAvailability(IndustryType type, IndustryAvailabilityCallType creation_type); IndustryType MapNewGRFIndustryType(IndustryType grf_type, uint32 grf_id); |