aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorlukaslw2014-07-25 14:47:19 +0200
committerlukaslw2014-07-25 14:47:19 +0200
commit98dafb866709273ffa984b6f709b94fbdab1e912 (patch)
tree3983d449024b66080fa678747406ce10de87bea1 /engines
parent92647962885ec85919a79cb1b58e01275206b495 (diff)
downloadscummvm-rg350-98dafb866709273ffa984b6f709b94fbdab1e912.tar.gz
scummvm-rg350-98dafb866709273ffa984b6f709b94fbdab1e912.tar.bz2
scummvm-rg350-98dafb866709273ffa984b6f709b94fbdab1e912.zip
PRINCE: loadVoice() update - hero talk time
Diffstat (limited to 'engines')
-rw-r--r--engines/prince/prince.cpp5
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);