mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-21 09:32:25 +00:00
Add FixZ() to the spell push stuff
This is done after the packet since we want the NPC to get pushed up still. The client will still interp the fall but server side we'll be on the ground instantly
This commit is contained in:
parent
49089f7537
commit
ef487112df
@ -1009,6 +1009,7 @@ void Mob::AI_Process() {
|
||||
Teleport(new_pos);
|
||||
SendPositionUpdate();
|
||||
pLastChange = Timer::GetCurrentTime();
|
||||
FixZ(); // so we teleport to the ground locally, we want the client to interpolate falling etc
|
||||
} else if (--ForcedMovement) {
|
||||
auto proj = glm::proj(static_cast<glm::vec3>(m_Delta), normal);
|
||||
m_Delta.x -= proj.x;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user