Fix for bug #862263 - Maniac actors never stop talking. I know this could probably be neater :)

svn-id: r12430
This commit is contained in:
James Brown 2004-01-16 10:45:56 +00:00
parent bd3f51dfdf
commit ac5b7036c2
8 changed files with 36 additions and 18 deletions

View file

@ -1069,7 +1069,7 @@ void ScummEngine_v6::o6_putActorAtXY() {
if (room == 0xFF || room == 0x7FFFFFFF) {
room = a->room;
} else {
if (a->visible && _currentRoom != room && VAR(VAR_TALK_ACTOR) == a->number) {
if (a->visible && _currentRoom != room && talkingActor() == a->number) {
clearMsgQueue();
}
if (room != 0)