diff options
author | alberth <alberth@openttd.org> | 2010-11-21 12:47:04 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-11-21 12:47:04 +0000 |
commit | 3e27739287dd52e80535c6fd583bb7db41859850 (patch) | |
tree | f87985fe2c203f381575ac8f78068643e18529c9 /src/settings.cpp | |
parent | 5f8afaadb7e82b351a26fd5590c6b1e8d148b23b (diff) | |
download | openttd-3e27739287dd52e80535c6fd583bb7db41859850.tar.xz |
(svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore().
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 387db7cfa..229ed5ebe 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1189,7 +1189,7 @@ static void PrepareOldDiffCustom() */ static void HandleOldDiffCustom(bool savegame) { - uint options_to_load = GAME_DIFFICULTY_NUM - ((savegame && CheckSavegameVersion(4)) ? 1 : 0); + uint options_to_load = GAME_DIFFICULTY_NUM - ((savegame && IsSavegameVersionBefore(4)) ? 1 : 0); if (!savegame) { /* If we did read to old_diff_custom, then at least one value must be non 0. */ |