diff options
author | Florian Kagerer | 2009-09-09 22:12:21 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-09-09 22:12:21 +0000 |
commit | 3259a6f0b5f2a82d521b1453813fd1bde2a2a022 (patch) | |
tree | af1c569dbfa244ac6adc4f167fcfbc54ab8315e7 /engines/kyra | |
parent | 686739fc5bc56dd07ee30621ff474f4efc2fd2c7 (diff) | |
download | scummvm-rg350-3259a6f0b5f2a82d521b1453813fd1bde2a2a022.tar.gz scummvm-rg350-3259a6f0b5f2a82d521b1453813fd1bde2a2a022.tar.bz2 scummvm-rg350-3259a6f0b5f2a82d521b1453813fd1bde2a2a022.zip |
LOL/Floppy: - fix spell book animation
svn-id: r44021
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/lol.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp index dba68b486c..c2c9e511a3 100644 --- a/engines/kyra/lol.cpp +++ b/engines/kyra/lol.cpp @@ -2993,7 +2993,10 @@ void LoLEngine::transferSpellToScollAnimation(int charNum, int spell, int slot) int vY = _updateSpellBookCoords[(slot << 1) + 1] + 5; char wsaFile[13]; - snprintf(wsaFile, 13, "write%0d%c.wsa", spell, (_lang == 1) ? 'f' : (_lang == 0 ? 'e' : 'g')); + if (_flags.isTalkie) + snprintf(wsaFile, 13, "write%0d%c.wsa", spell, (_lang == 1) ? 'f' : (_lang == 0 ? 'e' : 'g')); + else + snprintf(wsaFile, 13, "write%0d.wsa", spell); snd_playSoundEffect(_updateSpellBookAnimData[(spell << 2) + 3], -1); snd_playSoundEffect(95, -1); |