aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure
diff options
context:
space:
mode:
authorBorja Lorente2016-08-04 16:48:33 +0200
committerBorja Lorente2016-08-14 19:01:00 +0200
commitcb4650247fa10f530cc1ac5d2e4c312b055c988d (patch)
tree91fd7f4f16e068f911eba7a65ba59ced4dcd6c6b /engines/macventure
parent409a665867d5c310bf335436d05bf728c26c2f4a (diff)
downloadscummvm-rg350-cb4650247fa10f530cc1ac5d2e4c312b055c988d.tar.gz
scummvm-rg350-cb4650247fa10f530cc1ac5d2e4c312b055c988d.tar.bz2
scummvm-rg350-cb4650247fa10f530cc1ac5d2e4c312b055c988d.zip
MACVENTURE: Fix segfault when saving
Diffstat (limited to 'engines/macventure')
-rw-r--r--engines/macventure/saveload.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/macventure/saveload.cpp b/engines/macventure/saveload.cpp
index 95d290d87b..54009a1127 100644
--- a/engines/macventure/saveload.cpp
+++ b/engines/macventure/saveload.cpp
@@ -95,6 +95,7 @@ Common::Error MacVentureEngine::saveGameState(int slot, const Common::String &de
warning("Could not save '%s' correctly.", saveFileName.c_str());
}
delete file;
+ return Common::kNoError;
}
bool MacVentureEngine::scummVMSaveLoadDialog(bool isSave) {