diff options
author | Paul Gilbert | 2015-06-12 19:37:53 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-12 19:37:53 -0400 |
commit | ed29691b2facecdfac934f90841f69e81c12e697 (patch) | |
tree | 9d4338c4e740edbade693dbc0dea075a42619fec /engines/sherlock/talk.cpp | |
parent | cbafff20c22764295e93d86280e9825d7c6f5032 (diff) | |
download | scummvm-rg350-ed29691b2facecdfac934f90841f69e81c12e697.tar.gz scummvm-rg350-ed29691b2facecdfac934f90841f69e81c12e697.tar.bz2 scummvm-rg350-ed29691b2facecdfac934f90841f69e81c12e697.zip |
SHERLOCK: RT: Move RT fields added to Person to TattooPerson
Diffstat (limited to 'engines/sherlock/talk.cpp')
-rw-r--r-- | engines/sherlock/talk.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index bfb5a40ade..b27ff3ac9a 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -26,6 +26,7 @@ #include "sherlock/scalpel/scalpel_people.h" #include "sherlock/scalpel/scalpel_talk.h" #include "sherlock/scalpel/scalpel_user_interface.h" +#include "sherlock/tattoo/tattoo_people.h" #include "sherlock/tattoo/tattoo_talk.h" namespace Sherlock { @@ -966,7 +967,7 @@ void Talk::doScript(const Common::String &script) { if (IS_ROSE_TATTOO) { for (int idx = 0; idx < MAX_CHARACTERS; ++idx) { - Person &p = people[idx]; + Tattoo::TattooPerson &p = (*(Tattoo::TattooPeople *)_vm->_people)[idx]; p._savedNpcSequence = p._sequenceNumber; p._savedNpcFrame = p._frameNumber; } |