aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-03-28 20:57:01 +1100
committerPaul Gilbert2011-03-28 20:57:01 +1100
commit110f6b9be772aa64347d79621fbd712c7c19e4ea (patch)
treef37e362a1c2002ccc24dd4e2b56e15c24eda3dec
parent413394585037996b8c4afe60ac4e868d5aacca55 (diff)
downloadscummvm-rg350-110f6b9be772aa64347d79621fbd712c7c19e4ea.tar.gz
scummvm-rg350-110f6b9be772aa64347d79621fbd712c7c19e4ea.tar.bz2
scummvm-rg350-110f6b9be772aa64347d79621fbd712c7c19e4ea.zip
M4: Corrected incorrect case in cheat key handler
-rw-r--r--engines/m4/mads_scene.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/m4/mads_scene.cpp b/engines/m4/mads_scene.cpp
index 4d9dcc5219..fd8a609b53 100644
--- a/engines/m4/mads_scene.cpp
+++ b/engines/m4/mads_scene.cpp
@@ -1127,12 +1127,10 @@ bool MadsInterfaceView::handleCheatKey(int32 keycode) {
_madsVm->scene()->_showMousePos = !_madsVm->scene()->_showMousePos;
break;
- case Common::KEYCODE_t | (Common::KEYCODE_LALT << 24):
- case Common::KEYCODE_t | (Common::KEYCODE_RALT << 24):
- {
+ case Common::KEYCODE_t | (Common::KBD_ALT << 24): {
// Teleport to room
//Scene *sceneView = (Scene *)vm->_viewManager->getView(VIEWID_SCENE);
-
+ // TODO: Implement teleport code
return true;
}