changeset 12603:eac3ce26eb4e draft

(svn r17046) -Fix (r11411) [FS#3085]: Trigger house trigger 02 only for the north tile.
author frosch <frosch@openttd.org>
date Sun, 02 Aug 2009 19:48:51 +0000
parents fdc434cbd704
children 5eeb9dc6eb1a
files src/newgrf_house.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf_house.cpp
+++ b/src/newgrf_house.cpp
@@ -554,7 +554,7 @@
 	}
 
 	TriggerHouse(tile, HOUSE_TRIGGER_TILE_LOOP);
-	TriggerHouse(tile, HOUSE_TRIGGER_TILE_LOOP_TOP);
+	if (hs->building_flags & BUILDING_HAS_1_TILE) TriggerHouse(tile, HOUSE_TRIGGER_TILE_LOOP_TOP);
 
 	if (HasBit(hs->callback_mask, CBM_HOUSE_ANIMATION_START_STOP)) {
 		/* If this house is marked as having a synchronised callback, all the