mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Client position updates should be smoother (granted the client has a good connection)
Clients should also no longer randomly disappear
This commit is contained in:
+3
-3
@@ -215,7 +215,7 @@ Mob* QuestManager::spawn2(int npc_type, int grid, int unused, const glm::vec4& p
|
||||
{
|
||||
npc->AssignWaypoints(grid);
|
||||
}
|
||||
npc->SendPosUpdate();
|
||||
npc->SendPositionUpdate();
|
||||
return npc;
|
||||
}
|
||||
return nullptr;
|
||||
@@ -237,7 +237,7 @@ Mob* QuestManager::unique_spawn(int npc_type, int grid, int unused, const glm::v
|
||||
{
|
||||
npc->AssignWaypoints(grid);
|
||||
}
|
||||
npc->SendPosUpdate();
|
||||
npc->SendPositionUpdate();
|
||||
return npc;
|
||||
}
|
||||
return nullptr;
|
||||
@@ -1660,7 +1660,7 @@ void QuestManager::respawn(int npcTypeID, int grid) {
|
||||
if(grid > 0)
|
||||
owner->CastToNPC()->AssignWaypoints(grid);
|
||||
|
||||
owner->SendPosUpdate();
|
||||
owner->SendPositionUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user