(svn r24224) -Fix [FS#5159]: dereferencing uninitialised pointer (frosch)

This commit is contained in:
rubidium 2012-05-11 20:42:22 +00:00
parent c8400c5fd9
commit d20a28cfb5
1 changed files with 1 additions and 0 deletions

View File

@ -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;