From 1629699094b6dd708c7c379f3bb03000fad549e3 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 29 Jan 2008 00:36:55 +0000 Subject: (svn r12006) -Fix: implement FS#1697 without the nasty side effects as specified in FS#1712. --- src/newgrf_industries.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_industries.h') 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); -- cgit v1.2.3-54-g00ecf