aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/zvision/core/save_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/core/save_manager.cpp b/engines/zvision/core/save_manager.cpp
index 6e8b6b5ff3..2797b940a0 100644
--- a/engines/zvision/core/save_manager.cpp
+++ b/engines/zvision/core/save_manager.cpp
@@ -219,9 +219,9 @@ Common::SeekableReadStream *SaveManager::getSlotFile(uint slot) {
// Try to load standart save file
Common::String filename;
if (_engine->getGameId() == GID_GRANDINQUISITOR)
- filename.format("inqsav%u.sav", slot);
+ filename = Common::String::format("inqsav%u.sav", slot);
else if (_engine->getGameId() == GID_NEMESIS)
- filename.format("nemsav%u.sav", slot);
+ filename = Common::String::format("nemsav%u.sav", slot);
saveFile = _engine->getSearchManager()->openFile(filename);
if (saveFile == NULL) {