aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/inter_v5.cpp')
-rw-r--r--engines/gob/inter_v5.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gob/inter_v5.cpp b/engines/gob/inter_v5.cpp
index 87ecf14c8e..85b213ae66 100644
--- a/engines/gob/inter_v5.cpp
+++ b/engines/gob/inter_v5.cpp
@@ -100,8 +100,7 @@ void Inter_v5::setupOpcodesGob() {
}
void Inter_v5::o5_deleteFile() {
- _vm->_game->_script->evalExpr(0);
- char *file = _vm->_game->_script->getResultStr();
+ const char *file =_vm->_game->_script->evalString();
debugC(2, kDebugFileIO, "Delete file \"%s\"", file);