summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-08-08 18:24:48 +0000
committerfrosch <frosch@openttd.org>2009-08-08 18:24:48 +0000
commit134c5f3f9acaaad189f0f0dbd9917d319618d4ea (patch)
tree365fcf2491f14bd4258f2b46468f2d4a8b1418ad
parent0bb34a5d1f92b82bde370e2b69a780e0126d146d (diff)
downloadopenttd-134c5f3f9acaaad189f0f0dbd9917d319618d4ea.tar.xz
(svn r17118) -Fix: Mark industry tiles dirty when trigger are triggered.
-rw-r--r--src/newgrf_industrytiles.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp
index 1a6537c22..dd3194685 100644
--- a/src/newgrf_industrytiles.cpp
+++ b/src/newgrf_industrytiles.cpp
@@ -424,6 +424,7 @@ static void DoTriggerIndustryTile(TileIndex tile, IndustryTileTrigger trigger, I
random_bits &= ~object.reseed;
random_bits |= new_random_bits & object.reseed;
SetIndustryRandomBits(tile, random_bits);
+ MarkTileDirtyByTile(tile);
}
void TriggerIndustryTile(TileIndex tile, IndustryTileTrigger trigger)