diff options
author | rubidium <rubidium@openttd.org> | 2011-01-05 07:57:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-01-05 07:57:10 +0000 |
commit | 4cc2d71d6dd3543d1eb76d70c8c30de6c531c3ae (patch) | |
tree | a5189c8463a72ce2ce886655d482137f4a4d55e3 /src/company_cmd.cpp | |
parent | b890bcb84070813a2dd5dbf14fb74b10ac7cced3 (diff) | |
download | openttd-4cc2d71d6dd3543d1eb76d70c8c30de6c531c3ae.tar.xz |
(svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r-- | src/company_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 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); } } |