summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/company_cmd.cpp4
-rw-r--r--src/saveload/saveload.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 7b3ad8e03..f47ac9174 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -260,8 +260,8 @@ void UpdateLandscapingLimits()
{
Company *c;
FOR_ALL_COMPANIES(c) {
- c->terraform_limit = min(c->terraform_limit + _settings_game.construction.terraform_per_64k_frames, _settings_game.construction.terraform_frame_burst << 16);
- c->clear_limit = min(c->clear_limit + _settings_game.construction.clear_per_64k_frames, _settings_game.construction.clear_frame_burst << 16);
+ c->terraform_limit = min(c->terraform_limit + _settings_game.construction.terraform_per_64k_frames, (uint32)_settings_game.construction.terraform_frame_burst << 16);
+ c->clear_limit = min(c->clear_limit + _settings_game.construction.clear_per_64k_frames, (uint32)_settings_game.construction.clear_frame_burst << 16);
}
}
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index 3f3d8246c..b56fe4b2a 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -220,7 +220,7 @@
* 153 21263
* 154 21426
* 155 21453
- * 156 !!TODO!!
+ * 156 21728
*/
extern const uint16 SAVEGAME_VERSION = 156; ///< Current savegame version of OpenTTD.