summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-29 00:36:55 +0000
committerrubidium <rubidium@openttd.org>2008-01-29 00:36:55 +0000
commit1629699094b6dd708c7c379f3bb03000fad549e3 (patch)
treeaa58f2dfe5d8cb2b9ca934a66092611d90ca1f05 /src/newgrf_industries.h
parentc9a9103566e7be441d79255fedf9752a53ab5ee9 (diff)
downloadopenttd-1629699094b6dd708c7c379f3bb03000fad549e3.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.h2
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);