aboutsummaryrefslogtreecommitdiff
path: root/engines/made/scriptfuncs_mhne.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2008-05-09 19:29:17 +0000
committerFilippos Karapetis2008-05-09 19:29:17 +0000
commit271ce258232e6cf17ac8e6a6b845623d39274aae (patch)
tree5a36e73ec42bd92eb6bac740bfdcc8a1b983b263 /engines/made/scriptfuncs_mhne.cpp
parente0b9dec7666887f252a4a6af9d9b44a71f9a6275 (diff)
downloadscummvm-rg350-271ce258232e6cf17ac8e6a6b845623d39274aae.tar.gz
scummvm-rg350-271ce258232e6cf17ac8e6a6b845623d39274aae.tar.bz2
scummvm-rg350-271ce258232e6cf17ac8e6a6b845623d39274aae.zip
The backspace key is now working
svn-id: r31969
Diffstat (limited to 'engines/made/scriptfuncs_mhne.cpp')
-rw-r--r--engines/made/scriptfuncs_mhne.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/made/scriptfuncs_mhne.cpp b/engines/made/scriptfuncs_mhne.cpp
index bfec0a883d..95a857bf73 100644
--- a/engines/made/scriptfuncs_mhne.cpp
+++ b/engines/made/scriptfuncs_mhne.cpp
@@ -175,6 +175,10 @@ int16 ScriptFunctionsMhne::o1_EVENT(int16 argc, int16 *argv) {
case Common::EVENT_KEYDOWN:
_vm->_eventKey = event.kbd.ascii;
+ // For unknown reasons, the game accepts ASCII code
+ // 9 as backspace
+ if (_vm->_eventKey == Common::KEYCODE_BACKSPACE)
+ _vm->_eventKey = 9;
eventNum = 5;
break;