diff options
Diffstat (limited to 'engines/glk/jacl/interpreter.cpp')
-rw-r--r-- | engines/glk/jacl/interpreter.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/engines/glk/jacl/interpreter.cpp b/engines/glk/jacl/interpreter.cpp index 5fd38279d4..d0ec04aa4d 100644 --- a/engines/glk/jacl/interpreter.cpp +++ b/engines/glk/jacl/interpreter.cpp @@ -1798,11 +1798,7 @@ int execute(const char *funcname) { unkvarrun(word[1]); return (exit_function(TRUE)); } else { - if (word[2] == NULL) { - *container = save_interaction(NULL); - } else { - *container = save_interaction(arg_text_of_word(2)); - } + *container = save_interaction(); } } } else if (!strcmp(word[0], "restoregame")) { @@ -1815,11 +1811,7 @@ int execute(const char *funcname) { unkvarrun(word[1]); return (exit_function(TRUE)); } else { - if (word[2] == NULL) { - *container = restore_interaction(NULL); - } else { - *container = restore_interaction(arg_text_of_word(2)); - } + *container = restore_interaction(); } } } else if (!strcmp(word[0], "restartgame")) { |