[Scummvm-cvs-logs] scummvm master -> 110f6b9be772aa64347d79621fbd712c7c19e4ea

dreammaster dreammaster at scummvm.org
Mon Mar 28 11:58:39 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
110f6b9be7 M4: Corrected incorrect case in cheat key handler


Commit: 110f6b9be772aa64347d79621fbd712c7c19e4ea
    https://github.com/scummvm/scummvm/commit/110f6b9be772aa64347d79621fbd712c7c19e4ea
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-03-28T02:57:01-07:00

Commit Message:
M4: Corrected incorrect case in cheat key handler

Changed paths:
    engines/m4/mads_scene.cpp



diff --git a/engines/m4/mads_scene.cpp b/engines/m4/mads_scene.cpp
index 4d9dcc5..fd8a609 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;
 	}






More information about the Scummvm-git-logs mailing list