diff options
author | lukaslw | 2014-07-25 14:47:19 +0200 |
---|---|---|
committer | lukaslw | 2014-07-25 14:47:19 +0200 |
commit | 98dafb866709273ffa984b6f709b94fbdab1e912 (patch) | |
tree | 3983d449024b66080fa678747406ce10de87bea1 | |
parent | 92647962885ec85919a79cb1b58e01275206b495 (diff) | |
download | scummvm-rg350-98dafb866709273ffa984b6f709b94fbdab1e912.tar.gz scummvm-rg350-98dafb866709273ffa984b6f709b94fbdab1e912.tar.bz2 scummvm-rg350-98dafb866709273ffa984b6f709b94fbdab1e912.zip |
PRINCE: loadVoice() update - hero talk time
-rw-r--r-- | engines/prince/prince.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp index 5141b453be..06462421a8 100644 --- a/engines/prince/prince.cpp +++ b/engines/prince/prince.cpp @@ -664,6 +664,11 @@ bool PrinceEngine::loadVoice(uint32 slot, uint32 sampleSlot, const Common::Strin id += 2; _textSlots[slot]._time = id; + if (!slot) { + _mainHero->_talkTime = id; + } else if (slot == 1) { + _secondHero->_talkTime = id; + } debugEngine("SetVoice slot %d time %04x", slot, id); _voiceStream[sampleSlot]->seek(0); |