mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 09:59:10 +00:00
(svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user