Rename "SetPosition" to "UpdatePosition".
Replace CreatureRelocation in scripts with new Creature::SetPosition.
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
me->GetPosition(x, y, z);
|
||||
z += 4; x -= 3.5; y -= 5;
|
||||
me->GetMotionMaster()->Clear(false);
|
||||
me->GetMap()->CreatureRelocation(me, x, y, z, 0.0f);
|
||||
me->SetPosition(x, y, z, 0.0f);
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
|
||||
Reference in New Issue
Block a user