aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2003-01-05 00:58:30 +0000
committerTravis Howell2003-01-05 00:58:30 +0000
commitc502a72f6ed01447d74bbb669c73f9105bec3b82 (patch)
treedd605ea619e602bae2babb78ab517d63670fc07d
parent98578cbfffe268cce9cdae2b46857357975385cf (diff)
downloadscummvm-rg350-c502a72f6ed01447d74bbb669c73f9105bec3b82.tar.gz
scummvm-rg350-c502a72f6ed01447d74bbb669c73f9105bec3b82.tar.bz2
scummvm-rg350-c502a72f6ed01447d74bbb669c73f9105bec3b82.zip
Fix error in my last commit
svn-id: r6334
-rw-r--r--simon/simon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 4e6d5b1062..a28fe812f9 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -837,7 +837,7 @@ void SimonState::playSting(uint a)
uint16 size;
_mus_file = new File();
- sprintf(filename, "STINGS%i.MUS", a);
+ sprintf(filename, "STINGS%i.MUS", _midi_sfx);
_mus_file->open(filename, _gameDataPath);
if (!_mus_file->isOpen()) {
warning("Can't load sound effect from '%s'", filename);