[Scummvm-cvs-logs] CVS: scummvm/sword1 sound.cpp,1.2,1.3
Robert G?ffringmann
lavosspawn at users.sourceforge.net
Mon Dec 15 21:03:04 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword1 debug.cpp,1.1,1.2 sound.cpp,1.1,1.2 sword1.h,1.1,1.2
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon charset.cpp,1.24,1.25 simon.cpp,1.371,1.372 simon.h,1.110,1.111
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1:/tmp/cvs-serv11801/sword1
Modified Files:
sound.cpp
Log Message:
revert one of kirben's changes
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/sound.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- sound.cpp 16 Dec 2003 02:27:53 -0000 1.2
+++ sound.cpp 16 Dec 2003 05:02:34 -0000 1.3
@@ -60,8 +60,8 @@
void SwordSound::engine(void) {
// first of all, add any random sfx to the queue...
for (uint16 cnt = 0; cnt < TOTAL_FX_PER_ROOM; cnt++) {
- uint16 fxNo;
- if (fxNo == _roomsFixedFx[SwordLogic::_scriptVars[SCREEN]][cnt]) {
+ uint16 fxNo = _roomsFixedFx[SwordLogic::_scriptVars[SCREEN]][cnt];
+ if (fxNo) {
if (_fxList[fxNo].type == FX_RANDOM) {
if (_rnd.getRandomNumber(_fxList[fxNo].delay) == 0)
addToQueue(fxNo);
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword1 debug.cpp,1.1,1.2 sound.cpp,1.1,1.2 sword1.h,1.1,1.2
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon charset.cpp,1.24,1.25 simon.cpp,1.371,1.372 simon.h,1.110,1.111
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list