aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-04-14 22:30:34 +0000
committerTravis Howell2006-04-14 22:30:34 +0000
commit0076235ebbc65bb7b08fc94338955e185058fe6d (patch)
treebbf189572b96767455894645126d0445aebb277a /engines
parenteb1459334fd11484a51561c7082e86cde5c8b492 (diff)
downloadscummvm-rg350-0076235ebbc65bb7b08fc94338955e185058fe6d.tar.gz
scummvm-rg350-0076235ebbc65bb7b08fc94338955e185058fe6d.tar.bz2
scummvm-rg350-0076235ebbc65bb7b08fc94338955e185058fe6d.zip
Fix another glitch in save game interface of FF
svn-id: r21893
Diffstat (limited to 'engines')
-rw-r--r--engines/simon/oracle.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/simon/oracle.cpp b/engines/simon/oracle.cpp
index 63b30240e5..3ee2dfdbec 100644
--- a/engines/simon/oracle.cpp
+++ b/engines/simon/oracle.cpp
@@ -400,7 +400,6 @@ void SimonEngine::saveUserGame(int slot) {
writeVariable(55, _keyPressed);
break;
}
-
if (_keyPressed == 10 || _keyPressed == 13) {
if (!saveGame(readVariable(55), name))
writeVariable(55, 0xFFFF);
@@ -414,13 +413,13 @@ void SimonEngine::saveUserGame(int slot) {
window->textColumn -= getFeebleFontSize(chr);
name[len] = 0;
windowBackSpace(_windowArray[3]);
- windowPutChar(window, 0x7f);
}
if (_keyPressed >= 32 && window->textColumn + 26 <= window->width) {
name[len++] = _keyPressed;
windowPutChar(_windowArray[3], _keyPressed);
- windowPutChar(window, 0x7f);
}
+
+ windowPutChar(window, 0x7f);
}
}