summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-04 22:50:09 +0000
committerrubidium <rubidium@openttd.org>2011-01-04 22:50:09 +0000
commiteab47d2227bad950dd04ab8498588d40f1f4f725 (patch)
tree190356576f6e488e9be4f5810654c8c8ed329a12 /src/openttd.cpp
parent7dafd04f4b867243e2b0a67f8e41d2c9c7047a5b (diff)
downloadopenttd-eab47d2227bad950dd04ab8498588d40f1f4f725.tar.xz
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 88c7d3bc9..31f5d7235 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1236,6 +1236,7 @@ void StateGameLoop()
{
/* dont execute the state loop during pause */
if (_pause_mode != PM_UNPAUSED) {
+ UpdateLandscapingLimits();
CallWindowTickEvent();
return;
}
@@ -1248,6 +1249,7 @@ void StateGameLoop()
CallVehicleTicks();
CallLandscapeTick();
ClearStorageChanges(true);
+ UpdateLandscapingLimits();
CallWindowTickEvent();
NewsLoop();
@@ -1273,6 +1275,7 @@ void StateGameLoop()
ClearStorageChanges(true);
AI::GameLoop();
+ UpdateLandscapingLimits();
CallWindowTickEvent();
NewsLoop();