From 110f6b9be772aa64347d79621fbd712c7c19e4ea Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 28 Mar 2011 20:57:01 +1100 Subject: M4: Corrected incorrect case in cheat key handler --- engines/m4/mads_scene.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engines') 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; } -- cgit v1.2.3