diff options
| author | Sven Hesse | 2008-12-16 20:40:18 +0000 | 
|---|---|---|
| committer | Sven Hesse | 2008-12-16 20:40:18 +0000 | 
| commit | ebd2f53713f79f8e60317a869f77d3de129cdeaf (patch) | |
| tree | a9a1dbaa3bd05ccfab3f753ce94b4137e8b829f0 | |
| parent | 4d3a4a85f61995c502da0870a691d20f333b63b9 (diff) | |
| download | scummvm-rg350-ebd2f53713f79f8e60317a869f77d3de129cdeaf.tar.gz scummvm-rg350-ebd2f53713f79f8e60317a869f77d3de129cdeaf.tar.bz2 scummvm-rg350-ebd2f53713f79f8e60317a869f77d3de129cdeaf.zip | |
If the music file to play has no extension, add one. Fixes the music when you die
svn-id: r35397
| -rw-r--r-- | engines/gob/inter_v6.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp index 54d4074cc0..a1ae180068 100644 --- a/engines/gob/inter_v6.cpp +++ b/engines/gob/inter_v6.cpp @@ -716,6 +716,9 @@ void Inter_v6::o6_playVmdOrMusic() {  		_vm->_sound->bgStop();  		return;  	} else if (lastFrame == -9) { +		if (!strchr(fileName, '.')) +			strcat(fileName, ".WA8"); +  		probe16bitMusic(fileName);  		_vm->_sound->bgStop(); | 
