diff options
author | frosch <frosch@openttd.org> | 2009-08-08 18:24:48 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-08-08 18:24:48 +0000 |
commit | 134c5f3f9acaaad189f0f0dbd9917d319618d4ea (patch) | |
tree | 365fcf2491f14bd4258f2b46468f2d4a8b1418ad /src | |
parent | 0bb34a5d1f92b82bde370e2b69a780e0126d146d (diff) | |
download | openttd-134c5f3f9acaaad189f0f0dbd9917d319618d4ea.tar.xz |
(svn r17118) -Fix: Mark industry tiles dirty when trigger are triggered.
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_industrytiles.cpp | 1 |
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) |