[Scummvm-cvs-logs] CVS: scummvm/saga input.cpp,1.19,1.20 saga.cpp,1.61,1.62
Pawel Kolodziejski
aquadran at users.sourceforge.net
Fri Nov 19 14:31:04 CET 2004
Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24718
Modified Files:
input.cpp saga.cpp
Log Message:
fixed missed ctrl key handle, and missed create() walklthrough call
Index: input.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/input.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- input.cpp 19 Nov 2004 19:50:01 -0000 1.19
+++ input.cpp 19 Nov 2004 22:30:17 -0000 1.20
@@ -42,7 +42,7 @@
switch (event.event_code) {
case OSystem::EVENT_KEYDOWN:
- if (event.kbd.keycode == 'w')
+ if ((event.kbd.flags == OSystem::KBD_CTRL) && (event.kbd.keycode == 'w'))
_walkthroughDialog->runModal();
if (_vm->_console->isActive()) {
in_char = event.kbd.ascii;
Index: saga.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/saga.cpp,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- saga.cpp 19 Nov 2004 19:50:01 -0000 1.61
+++ saga.cpp 19 Nov 2004 22:30:18 -0000 1.62
@@ -117,6 +117,7 @@
_vm = this;
_walkthroughDialog->setGameName(detector->_game.name);
+ _walkthroughDialog->create();
}
SagaEngine::~SagaEngine() {
More information about the Scummvm-git-logs
mailing list