Skip to content

Commit

Permalink
TITANIC: Fix to Doorbot talking animations selection
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 29, 2016
1 parent fae906b commit 43dc1c6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions engines/titanic/npcs/doorbot.cpp
Expand Up @@ -340,11 +340,17 @@ bool CDoorbot::NPCPlayTalkingAnimationMsg(CNPCPlayTalkingAnimationMsg *msg) {

if (msg->_value2 != 2) {
if (_npcFlags & NPCFLAG_200000) {
if (_introMovieNum == 8 || _field110) {
switch (_introMovieNum) {
case 8:
case 10:
msg->_names = NAMES2;
} else if (_introMovieNum == 9) {
break;
case 9:
msg->_names = NAMES3;
_introMovieNum = 10;
break;
default:
break;
}
} else if (_npcFlags & (NPCFLAG_100000 | NPCFLAG_400000)) {
msg->_names = NAMES1;
Expand Down

0 comments on commit 43dc1c6

Please sign in to comment.