[Scummvm-cvs-logs] SF.net SVN: scummvm:[35397] scummvm/trunk/engines/gob/inter_v6.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Tue Dec 16 21:40:18 CET 2008
Revision: 35397
http://scummvm.svn.sourceforge.net/scummvm/?rev=35397&view=rev
Author: drmccoy
Date: 2008-12-16 20:40:18 +0000 (Tue, 16 Dec 2008)
Log Message:
-----------
If the music file to play has no extension, add one. Fixes the music when you die
Modified Paths:
--------------
scummvm/trunk/engines/gob/inter_v6.cpp
Modified: scummvm/trunk/engines/gob/inter_v6.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v6.cpp 2008-12-16 20:21:29 UTC (rev 35396)
+++ scummvm/trunk/engines/gob/inter_v6.cpp 2008-12-16 20:40:18 UTC (rev 35397)
@@ -716,6 +716,9 @@
_vm->_sound->bgStop();
return;
} else if (lastFrame == -9) {
+ if (!strchr(fileName, '.'))
+ strcat(fileName, ".WA8");
+
probe16bitMusic(fileName);
_vm->_sound->bgStop();
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