diff options
author | Paul Gilbert | 2015-08-07 20:01:23 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-07 20:01:23 -0400 |
commit | 4c8b2f1235a7092c539c9b5bc8eb68cbab45ab1c (patch) | |
tree | 35f4c6610734e9193c76f290034e9f8b5465f70a | |
parent | 9350c342bb77ba93910bdc68d44a169e8ae320c5 (diff) | |
download | scummvm-rg350-4c8b2f1235a7092c539c9b5bc8eb68cbab45ab1c.tar.gz scummvm-rg350-4c8b2f1235a7092c539c9b5bc8eb68cbab45ab1c.tar.bz2 scummvm-rg350-4c8b2f1235a7092c539c9b5bc8eb68cbab45ab1c.zip |
SHERLOCK: RT: Fix cmdPlaySong opcode
-rw-r--r-- | engines/sherlock/tattoo/tattoo_talk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_talk.cpp b/engines/sherlock/tattoo/tattoo_talk.cpp index 7aa75b97a9..7762b4814b 100644 --- a/engines/sherlock/tattoo/tattoo_talk.cpp +++ b/engines/sherlock/tattoo/tattoo_talk.cpp @@ -382,7 +382,7 @@ OpcodeReturn TattooTalk::cmdPlaySong(const byte *&str) { // Get the name of the song to play music._currentSongName = ""; str++; - for (int idx = 0; idx < 8 && str[idx + 1] != '~'; ++idx) + for (int idx = 0; idx < 8 && str[idx] != '~'; ++idx) music._currentSongName += str[idx]; str += 7; |