Changeset - r19321:26ad44e20079
[Not reviewed]
master
0 1 0
rubidium - 12 years ago 2012-05-11 20:42:22
rubidium@openttd.org
(svn r24224) -Fix [FS#5159]: dereferencing uninitialised pointer (frosch)
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/newgrf_industries.cpp
Show inline comments
 
@@ -528,6 +528,7 @@ CommandCost CheckIfCallBackAllowsCreatio
 
	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;
0 comments (0 inline, 0 general)