[Scummvm-cvs-logs] SF.net SVN: scummvm: [28767] scummvm/trunk/engines/saga/rscfile.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Fri Aug 31 09:22:45 CEST 2007
Revision: 28767
http://scummvm.svn.sourceforge.net/scummvm/?rev=28767&view=rev
Author: thebluegr
Date: 2007-08-31 00:22:45 -0700 (Fri, 31 Aug 2007)
Log Message:
-----------
Fix regression: the volume after the start credits was set to 0, so the IHNM demo music couldn't be heard
Modified Paths:
--------------
scummvm/trunk/engines/saga/rscfile.cpp
Modified: scummvm/trunk/engines/saga/rscfile.cpp
===================================================================
--- scummvm/trunk/engines/saga/rscfile.cpp 2007-08-31 07:20:57 UTC (rev 28766)
+++ scummvm/trunk/engines/saga/rscfile.cpp 2007-08-31 07:22:45 UTC (rev 28767)
@@ -774,6 +774,7 @@
free(resourcePointer);
} else {
// The IHNM demo has a fixed music track and doesn't load a song table
+ _vm->_music->setVolume(_vm->_musicVolume == 10 ? -1 : _vm->_musicVolume * 25, 1);
_vm->_music->play(3, MUSIC_LOOP);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list