From ebd2f53713f79f8e60317a869f77d3de129cdeaf Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Tue, 16 Dec 2008 20:40:18 +0000 Subject: If the music file to play has no extension, add one. Fixes the music when you die svn-id: r35397 --- engines/gob/inter_v6.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/gob') 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(); -- cgit v1.2.3