diff options
-rw-r--r-- | engines/titanic/core/project_item.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/detection.cpp | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/engines/titanic/core/project_item.cpp b/engines/titanic/core/project_item.cpp index a3ac284af8..2655b6cbd5 100644 --- a/engines/titanic/core/project_item.cpp +++ b/engines/titanic/core/project_item.cpp @@ -35,7 +35,6 @@ namespace Titanic { #define CURRENT_SAVEGAME_VERSION 1 -#define MAX_SAVEGAME_SLOTS 99 #define MINIMUM_SAVEGAME_VERSION 1 static const char *const SAVEGAME_STR = "TNIC"; @@ -464,7 +463,7 @@ SaveStateList CProjectItem::getSavegameList(const Common::String &target) { const char *ext = strrchr(file->c_str(), '.'); int slot = ext ? atoi(ext + 1) : -1; - if (slot >= 0 && slot < MAX_SAVEGAME_SLOTS) { + if (slot >= 0 && slot < MAX_SAVES) { Common::InSaveFile *in = g_system->getSavefileManager()->openForLoading(*file); if (in) { diff --git a/engines/titanic/detection.cpp b/engines/titanic/detection.cpp index 8c990e2525..6c3177d718 100644 --- a/engines/titanic/detection.cpp +++ b/engines/titanic/detection.cpp @@ -33,8 +33,6 @@ #include "graphics/colormasks.h" #include "graphics/surface.h" -#define MAX_SAVES 99 - namespace Titanic { struct TitanicGameDescription { |