(svn r26059) -Fix (r20435): missed one instance causing to compare an array to NULL instead of an array's element

pull/155/head
rubidium 11 years ago
parent a6fae2c608
commit 6bc32d7c5d

@ -610,7 +610,7 @@ static void DoTriggerHouse(TileIndex tile, HouseTrigger trigger, byte base_rando
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;

Loading…
Cancel
Save