aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan2/exe.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-22 22:18:20 -0700
committerPaul Gilbert2019-06-23 14:41:49 -0700
commitb2b78f48f0ef5de7253df428cd53115e4a88a84d (patch)
tree0b071610dad9cd417f6be43fbc0523f352a80fac /engines/glk/alan2/exe.cpp
parent544c8413431369705ec0dd29733b1536a85fdd52 (diff)
downloadscummvm-rg350-b2b78f48f0ef5de7253df428cd53115e4a88a84d.tar.gz
scummvm-rg350-b2b78f48f0ef5de7253df428cd53115e4a88a84d.tar.bz2
scummvm-rg350-b2b78f48f0ef5de7253df428cd53115e4a88a84d.zip
GLK: ALAN2: Fixes for restarting in-game
Diffstat (limited to 'engines/glk/alan2/exe.cpp')
-rw-r--r--engines/glk/alan2/exe.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/alan2/exe.cpp b/engines/glk/alan2/exe.cpp
index 2acd9d2885..5ff79c88f4 100644
--- a/engines/glk/alan2/exe.cpp
+++ b/engines/glk/alan2/exe.cpp
@@ -178,13 +178,13 @@ void quit(CONTEXT) {
CALL1(terminate, 0)
}
- if (strcmp(buf, "restart") == 0) {
+ if (scumm_stricmp(buf, "restart") == 0) {
g_vm->setRestart(true);
LONG_JUMP
- } else if (strcmp(buf, "restore") == 0) {
+ } else if (scumm_stricmp(buf, "restore") == 0) {
restore();
LONG_JUMP
- } else if (strcmp(buf, "quit") == 0) {
+ } else if (scumm_stricmp(buf, "quit") == 0) {
CALL1(terminate, 0)
}
}