[Scummvm-cvs-logs] CVS: scummvm/queen cutaway.cpp,1.133,1.134
Gregory Montoir
cyx at users.sourceforge.net
Sun Oct 3 14:00:56 CEST 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.286,2.287 script_v90he.cpp,2.73,2.74
- Next message: [Scummvm-cvs-logs] CVS: scummvm/queen bankman.cpp,1.6,1.7 cutaway.cpp,1.134,1.135 defs.h,1.42,1.43 graphics.cpp,1.104,1.105 logic.cpp,1.203,1.204 logic.h,1.117,1.118 talk.cpp,1.106,1.107 walk.cpp,1.43,1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22332/queen
Modified Files:
cutaway.cpp
Log Message:
as pointed out by salty-horse, it's better to stop speech and sfx only when the cutaway is cancelled
Index: cutaway.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/cutaway.cpp,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- cutaway.cpp 26 Sep 2004 18:55:11 -0000 1.133
+++ cutaway.cpp 3 Oct 2004 20:27:39 -0000 1.134
@@ -917,8 +917,6 @@
stop();
- _vm->input()->cutawayQuitReset();
-
updateGameState();
_vm->bankMan()->close(CUTAWAY_BANK);
@@ -987,9 +985,11 @@
joeBob->moving = 0;
// if the cutaway has been cancelled, we must stop the speech and the sfx as well
- if (_vm->sound()->speechOn())
- _vm->sound()->stopSpeech();
- _vm->sound()->stopSfx();
+ if (_vm->input()->cutawayQuit()) {
+ if (_vm->sound()->speechOn())
+ _vm->sound()->stopSpeech();
+ _vm->sound()->stopSfx();
+ }
_vm->input()->cutawayRunning(false);
_vm->input()->cutawayQuitReset();
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.286,2.287 script_v90he.cpp,2.73,2.74
- Next message: [Scummvm-cvs-logs] CVS: scummvm/queen bankman.cpp,1.6,1.7 cutaway.cpp,1.134,1.135 defs.h,1.42,1.43 graphics.cpp,1.104,1.105 logic.cpp,1.203,1.204 logic.h,1.117,1.118 talk.cpp,1.106,1.107 walk.cpp,1.43,1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list