Rename "SetPosition" to "UpdatePosition".
Replace CreatureRelocation in scripts with new Creature::SetPosition.
This commit is contained in:
@@ -206,7 +206,7 @@ public:
|
||||
{
|
||||
float x = KaelLocations[0][0];
|
||||
float y = KaelLocations[0][1];
|
||||
me->GetMap()->CreatureRelocation(me, x, y, LOCATION_Z, 0.0f);
|
||||
me->SetPosition(x, y, LOCATION_Z, 0.0f);
|
||||
//me->SendMonsterMove(x, y, LOCATION_Z, 0, 0, 0); // causes some issues...
|
||||
std::list<HostileReference*>::const_iterator i = me->getThreatManager().getThreatList().begin();
|
||||
for (i = me->getThreatManager().getThreatList().begin(); i!= me->getThreatManager().getThreatList().end(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user