aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
diff options
context:
space:
mode:
Diffstat (limited to 'engines/toltecs')
-rw-r--r--engines/toltecs/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toltecs/script.cpp b/engines/toltecs/script.cpp
index 53af5f9f00..8f534ef398 100644
--- a/engines/toltecs/script.cpp
+++ b/engines/toltecs/script.cpp
@@ -192,7 +192,7 @@ void ScriptInterpreter::runScript() {
if (_vm->_saveLoadRequested == 1)
_vm->loadGameState(_vm->_saveLoadSlot);
else if (_vm->_saveLoadRequested == 2)
- _vm->saveGameState(_vm->_saveLoadSlot, _vm->_saveLoadDescription.c_str());
+ _vm->saveGameState(_vm->_saveLoadSlot, _vm->_saveLoadDescription);
_vm->_saveLoadRequested = 0;
}