aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_talk.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-03 17:20:47 -0400
committerPaul Gilbert2015-07-03 17:20:47 -0400
commite02fbcebe7a9a04eee14bd2f04da455b0b312140 (patch)
tree99b5c5ae46e29c1dd4417caa44f6152d90ea0e4c /engines/sherlock/tattoo/tattoo_talk.cpp
parent1e37f0b2efd2acd343bc199fa051c2f8a5da34df (diff)
downloadscummvm-rg350-e02fbcebe7a9a04eee14bd2f04da455b0b312140.tar.gz
scummvm-rg350-e02fbcebe7a9a04eee14bd2f04da455b0b312140.tar.bz2
scummvm-rg350-e02fbcebe7a9a04eee14bd2f04da455b0b312140.zip
SHERLOCK: RT: Hook talk widget refresh into talk logic
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_talk.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo_talk.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo_talk.cpp b/engines/sherlock/tattoo/tattoo_talk.cpp
index 54d327e92a..3ad64a1757 100644
--- a/engines/sherlock/tattoo/tattoo_talk.cpp
+++ b/engines/sherlock/tattoo/tattoo_talk.cpp
@@ -861,6 +861,14 @@ 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