*Update movement enums - thanks to Zor for info.

*Add functions for position data streaming.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2010-08-04 14:39:45 +02:00
1 parent 850868c8a3
commit 6353e7dd8c
60 files changed
+428 -366

No files matched your search

+1 -1
View File
@@ -1249,7 +1249,7 @@ struct npc_crusade_recruitAI : public ScriptedAI
break;
case 2:
// walk forward
me->AddUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
me->AddUnitMovementFlag(MOVEMENTFLAG_WALKING);
me->GetMotionMaster()->MovePoint(0,me->GetPositionX() + (cos(m_heading) * 10), me->GetPositionY() + (sin(m_heading) * 10), me->GetPositionZ());
m_uiTimer = 5000;
m_uiPhase = 3;