1
0
Fork 0

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

release/1.4
rubidium 2013-11-23 13:16:05 +00:00
parent 0e9c992104
commit ba1b35a0ac
1 changed files with 1 additions and 1 deletions

View File

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