forked from mirror/OpenTTD
(svn r24224) -Fix [FS#5159]: dereferencing uninitialised pointer (frosch)
This commit is contained in:
@@ -528,6 +528,7 @@ CommandCost CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uin
|
||||
ind.town = ClosestTownFromTile(tile, UINT_MAX);
|
||||
ind.random = initial_random_bits;
|
||||
ind.founder = founder;
|
||||
ind.psa = NULL;
|
||||
|
||||
NewIndustryResolver(&object, tile, &ind, type);
|
||||
object.GetVariable = IndustryLocationGetVariable;
|
||||
|
Reference in New Issue
Block a user