[Scummvm-cvs-logs] SF.net SVN: scummvm: [29248] scummvm/trunk/engines/kyra/kyra_v1.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon Oct 22 22:53:10 CEST 2007
Revision: 29248
http://scummvm.svn.sourceforge.net/scummvm/?rev=29248&view=rev
Author: lordhoto
Date: 2007-10-22 13:53:10 -0700 (Mon, 22 Oct 2007)
Log Message:
-----------
Fixed SFX in intro of FM-Towns/PC98 versions of Kyrandia 1 (Thanks to Florian Kagerer for the patch).
Modified Paths:
--------------
scummvm/trunk/engines/kyra/kyra_v1.cpp
Modified: scummvm/trunk/engines/kyra/kyra_v1.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_v1.cpp 2007-10-22 20:41:58 UTC (rev 29247)
+++ scummvm/trunk/engines/kyra/kyra_v1.cpp 2007-10-22 20:53:10 UTC (rev 29248)
@@ -192,8 +192,8 @@
error("Couldn't init sound");
_sound->setVolume(255);
- if (_flags.platform != Common::kPlatformFMTowns && _flags.platform != Common::kPlatformPC98)
- _sound->loadSoundFile(9);
+ _sound->loadSoundFile((_flags.platform == Common::kPlatformFMTowns
+ || _flags.platform == Common::kPlatformPC98) ? 0 : 9);
setupTimers();
setupButtonData();
@@ -1222,3 +1222,4 @@
} // end of namespace Kyra
+
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