diff options
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_talk.cpp')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_talk.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/engines/sherlock/tattoo/tattoo_talk.cpp b/engines/sherlock/tattoo/tattoo_talk.cpp index d0c4bdc3b0..51704e7023 100644 --- a/engines/sherlock/tattoo/tattoo_talk.cpp +++ b/engines/sherlock/tattoo/tattoo_talk.cpp @@ -198,9 +198,15 @@ void TattooTalk::talkInterface(const byte *&str) { _wait = true; } -void TattooTalk::openTalkWindow() { +void TattooTalk::showTalk() { + TattooPeople &people = *(TattooPeople *)_vm->_people; + + _sequenceStack.clear(); + people.setListenSequence(_talkTo, 129); + _talkWidget.load(); _talkWidget.summonWindow(); + _talkWidget.refresh(); } OpcodeReturn TattooTalk::cmdSwitchSpeaker(const byte *&str) { @@ -861,14 +867,6 @@ OpcodeReturn TattooTalk::cmdWalkHomesAndNPCToCoords(const byte *&str) { return RET_SUCCESS; } -void TattooTalk::showTalk() { - TattooPeople &people = *(TattooPeople *)_vm->_people; - - _sequenceStack.clear(); - people.setListenSequence(_talkTo, 129); - _talkWidget.refresh(); -} - } // End of namespace Tattoo } // End of namespace Sherlock |