Core/Units: Removed most calls to SendMovementFlagUpdate for creatures
This commit is contained in:
1 parent
b3bdcc61ee
commit
112bc49c9a
14 files changed
+22
-58
No files matched your search
@@ -886,12 +886,10 @@ void Map::ScriptsProcess()
|
||||
if (!targetUnit)
|
||||
break;
|
||||
|
||||
sourceUnit->SetInFront(targetUnit);
|
||||
sourceUnit->SetFacingToObject(targetUnit);
|
||||
}
|
||||
else
|
||||
sourceUnit->SetOrientation(step.script->Orientation.Orientation);
|
||||
|
||||
sourceUnit->SendMovementFlagUpdate();
|
||||
sourceUnit->SetFacingTo(step.script->Orientation.Orientation);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user