Update of /cvsroot/moeng/CaveAdventure/src
In directory sc8-pr-cvs1:/tmp/cvs-serv16663
Modified Files:
sound.cpp
Log Message:
Do not close when MIDI cannot be found.
Index: sound.cpp
===================================================================
RCS file: /cvsroot/moeng/CaveAdventure/src/sound.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** sound.cpp 13 Jan 2004 17:18:07 -0000 1.1
--- sound.cpp 13 Jan 2004 18:40:10 -0000 1.2
***************
*** 102,106 ****
play_looped_midi((MIDI*)found_object->dat, 0, -1);
} else {
! console.log(CON_QUIT, CON_ALWAYS, "Could not find MIDI file in datafile (%s)", channels[channel].filename);
}
} else {
--- 102,106 ----
play_looped_midi((MIDI*)found_object->dat, 0, -1);
} else {
! console.log(CON_LOG | CON_CONSOLE, CON_ALWAYS, "Could not find MIDI file in datafile (%s)\n", channels[channel].filename);
}
} else {
|