[Scummvm-cvs-logs] SF.net SVN: scummvm:[46865] scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp
waltervn at users.sourceforge.net
waltervn at users.sourceforge.net
Sat Jan 2 00:48:55 CET 2010
Revision: 46865
http://scummvm.svn.sourceforge.net/scummvm/?rev=46865&view=rev
Author: waltervn
Date: 2010-01-01 23:48:55 +0000 (Fri, 01 Jan 2010)
Log Message:
-----------
SCI: Adlib: Fix bug in master volume handling.
Modified Paths:
--------------
scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp
Modified: scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp 2010-01-01 23:48:22 UTC (rev 46864)
+++ scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp 2010-01-01 23:48:55 UTC (rev 46865)
@@ -648,9 +648,12 @@
if (_isSCI0) {
int velocity = _masterVolume;
- if ((velocity > 0) && (velocity < 13))
+ if (velocity > 0)
velocity += 3;
+ if (velocity > 15)
+ velocity = 15;
+
int insVelocity;
if (_channels[_voices[voice].channel].enableVelocity)
insVelocity = _voices[voice].velocity;
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