summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-08-02 19:48:51 +0000
committerfrosch <frosch@openttd.org>2009-08-02 19:48:51 +0000
commit1c7a2cca23396dc33ad084938b0d59ad37f72922 (patch)
treed76e1c38c948bd98fcab62f3978273770b4fb366 /src
parent20520baffb708d558b8a9e4ce6074f00e5ebfae7 (diff)
downloadopenttd-1c7a2cca23396dc33ad084938b0d59ad37f72922.tar.xz
(svn r17046) -Fix (r11411) [FS#3085]: Trigger house trigger 02 only for the north tile.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_house.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp
index b60c38a33..faaf4a6eb 100644
--- a/src/newgrf_house.cpp
+++ b/src/newgrf_house.cpp
@@ -554,7 +554,7 @@ bool NewHouseTileLoop(TileIndex tile)
}
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