diff options
Diffstat (limited to 'engines/mohawk/riven_saveload.cpp')
-rw-r--r-- | engines/mohawk/riven_saveload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/riven_saveload.cpp b/engines/mohawk/riven_saveload.cpp index 6be876de2a..37b5b6893b 100644 --- a/engines/mohawk/riven_saveload.cpp +++ b/engines/mohawk/riven_saveload.cpp @@ -404,8 +404,8 @@ Common::Error RivenSaveLoad::saveGame(const int slot, const Common::String &desc Common::String filename = buildSaveFilename(slot); // Convert class variables to variable numbers - _vm->_vars["currentstackid"] = _vm->getCurStack()->getId(); - _vm->_vars["currentcardid"] = _vm->getCurCard()->getId(); + _vm->_vars["currentstackid"] = _vm->getStack()->getId(); + _vm->_vars["currentcardid"] = _vm->getCard()->getId(); Common::OutSaveFile *saveFile = _saveFileMan->openForSaving(filename); if (!saveFile) |