Changeset - r12593:e0b0ea0326ae
[Not reviewed]
master
0 1 0
frosch - 15 years ago 2009-08-02 19:48:51
frosch@openttd.org
(svn r17046) -Fix (r11411) [FS#3085]: Trigger house trigger 02 only for the north tile.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_house.cpp
Show inline comments
 
@@ -551,13 +551,13 @@ bool NewHouseTileLoop(TileIndex tile)
 
	if (GetHouseProcessingTime(tile) > 0) {
 
		DecHouseProcessingTime(tile);
 
		return true;
 
	}
 

	
 
	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
 
		 * tiles will have the callback called at once, rather than when the
 
		 * tile loop reaches them. This should only be enabled for the northern
 
		 * tile, or strange things will happen (here, and in TTDPatch). */
0 comments (0 inline, 0 general)