*Set reactpassive when creature is calling for assistance.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-21 17:24:22 -05:00
1 parent 239919abb2
commit 2280ca66b8
2 files changed
+3 -8

No files matched your search

+2
View File
@@ -375,6 +375,8 @@ MotionMaster::MoveSeekAssistance(float x, float y, float z)
{
DEBUG_LOG("Creature (Entry: %u GUID: %u) seek assistance (X: %f Y: %f Z: %f)",
i_owner->GetEntry(), i_owner->GetGUIDLow(), x, y, z );
i_owner->AttackStop();
((Creature*)i_owner)->SetReactState(REACT_PASSIVE);
Mutate(new AssistanceMovementGenerator(x,y,z), MOTION_SLOT_ACTIVE);
}
}