From dd5f6f13e292e3ca8c63997fb1360fc39b5426e3 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 7 Jul 2010 11:02:11 +0000 Subject: Bugfixes and changed field names in the player class to be more explanatory. Implemented Ctrl-T to turn the player - the original game used Ctrl-U, but this is reserved by ScummVM for toggle Mute. svn-id: r50734 --- engines/m4/mads_scene.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/m4/mads_scene.cpp') diff --git a/engines/m4/mads_scene.cpp b/engines/m4/mads_scene.cpp index 3e838fc1c0..e4f84aeb5a 100644 --- a/engines/m4/mads_scene.cpp +++ b/engines/m4/mads_scene.cpp @@ -165,7 +165,7 @@ void MadsScene::loadScene(int sceneNumber) { // Miscellaneous player setup _madsVm->_player._destPos = _madsVm->_player._destPos; - _madsVm->_player._direction2 = _madsVm->_player._direction; + _madsVm->_player._newDirection = _madsVm->_player._direction; _madsVm->_player.setupFrame(); _madsVm->_player.updateFrame(); @@ -1192,9 +1192,9 @@ bool MadsInterfaceView::handleKeypress(int32 keycode) { warning("TODO: Activate sound"); break; - case Common::KEYCODE_u: - // Rotate player - warning("TODO: Rotate player"); + case Common::KEYCODE_t: + // Rotate player - This was Ctrl-U in the original, but in ScummVM Ctrl-U is a global mute key + _madsVm->_player._newDirection = _madsVm->_player._directionListIndexes[_madsVm->_player._newDirection + 10]; break; case Common::KEYCODE_v: { -- cgit v1.2.3