SHERLOCK: Fixes for talk setup and portrait loading

This commit is contained in:
Paul Gilbert 2015-04-13 22:55:07 -05:00
parent 3be28b495d
commit 38b6aa70a8
6 changed files with 31 additions and 25 deletions

View file

@ -2200,7 +2200,6 @@ void UserInterface::checkUseAction(const UseType *use, const Common::String &inv
if (targetNum != -1) {
// Found a target, so do the action
const UseType &action = use[targetNum];
int messageNum = action._cAnimNum;
events.setCursor(WAIT);
@ -2318,7 +2317,7 @@ void UserInterface::checkAction(ActionType &action, const char *const messages[]
people[AL]._sequenceNumber = dir;
people.gotoStand(people[AL]);
talk.talkTo(action._names[nameIdx] + 2);
talk.talkTo(action._names[nameIdx].c_str() + 2);
if (ch == 'T')
doCAnim = false;
}