Mercurial > mm7
comparison mm7_2.cpp @ 1060:b79139c3b5c8
some AI cleaning
author | zipi |
---|---|
date | Thu, 23 May 2013 20:51:27 +0100 |
parents | cbb1baa606aa |
children | 89422dd58318 |
comparison
equal
deleted
inserted
replaced
1059:0e0f1192aa57 | 1060:b79139c3b5c8 |
---|---|
10471 } | 10471 } |
10472 else | 10472 else |
10473 { | 10473 { |
10474 if ( !v13->GetActorsRelation(0) && !(BYTE2(v13->uAttributes) & 8) && v13->CanAct() ) | 10474 if ( !v13->GetActorsRelation(0) && !(BYTE2(v13->uAttributes) & 8) && v13->CanAct() ) |
10475 { | 10475 { |
10476 Actor::FaceObject(v12, 4u, 0, 0); | 10476 Actor::AI_FaceObject(v12, 4u, 0, 0); |
10477 if ( v13->sNPC_ID ) | 10477 if ( v13->sNPC_ID ) |
10478 { | 10478 { |
10479 pMessageQueue_50CBD0->AddMessage(UIMSG_StartNPCDialogue, v12, 0); | 10479 pMessageQueue_50CBD0->AddMessage(UIMSG_StartNPCDialogue, v12, 0); |
10480 } | 10480 } |
10481 else | 10481 else |