diff options
author | rubidium <rubidium@openttd.org> | 2011-01-04 22:50:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-01-04 22:50:09 +0000 |
commit | eab47d2227bad950dd04ab8498588d40f1f4f725 (patch) | |
tree | 190356576f6e488e9be4f5810654c8c8ed329a12 /src/openttd.cpp | |
parent | 7dafd04f4b867243e2b0a67f8e41d2c9c7047a5b (diff) | |
download | openttd-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.cpp | 3 |
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(); |