From 3e27739287dd52e80535c6fd583bb7db41859850 Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 21 Nov 2010 12:47:04 +0000 Subject: (svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore(). --- src/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/settings.cpp') 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. */ -- cgit v1.2.3-54-g00ecf