Changeset - r20985:5412418d753c
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-11-23 13:16:05
rubidium@openttd.org
(svn r26059) -Fix (r20435): missed one instance causing to compare an array to NULL instead of an array's element
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_house.cpp
Show inline comments
 
@@ -610,7 +610,7 @@ static void DoTriggerHouse(TileIndex til
 
	HouseID hid = GetHouseType(tile);
 
	HouseSpec *hs = HouseSpec::Get(hid);
 

	
 
	if (hs->grf_prop.spritegroup == NULL) return;
 
	if (hs->grf_prop.spritegroup[0] == NULL) return;
 

	
 
	HouseResolverObject object(hid, tile, Town::GetByTile(tile), CBID_RANDOM_TRIGGER);
 
	object.trigger = trigger;
0 comments (0 inline, 0 general)