summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-11-21 12:47:04 +0000
committeralberth <alberth@openttd.org>2010-11-21 12:47:04 +0000
commit3e27739287dd52e80535c6fd583bb7db41859850 (patch)
treef87985fe2c203f381575ac8f78068643e18529c9 /src/settings.cpp
parent5f8afaadb7e82b351a26fd5590c6b1e8d148b23b (diff)
downloadopenttd-3e27739287dd52e80535c6fd583bb7db41859850.tar.xz
(svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore().
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
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. */