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:
Akkadius
2017-07-14 20:49:57 -05:00
parent 5c75a68715
commit 43204e52f8
15 changed files with 165 additions and 230 deletions
+3 -3
View File
@@ -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();
}
}