mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Redoing movement to introduce proper rotation
This commit is contained in:
+2
-4
@@ -217,7 +217,7 @@ Mob* QuestManager::spawn2(int npc_type, int grid, int unused, const glm::vec4& p
|
||||
{
|
||||
npc->AssignWaypoints(grid);
|
||||
}
|
||||
npc->SendPositionUpdate();
|
||||
|
||||
return npc;
|
||||
}
|
||||
return nullptr;
|
||||
@@ -241,7 +241,7 @@ Mob* QuestManager::unique_spawn(int npc_type, int grid, int unused, const glm::v
|
||||
{
|
||||
npc->AssignWaypoints(grid);
|
||||
}
|
||||
npc->SendPositionUpdate();
|
||||
|
||||
return npc;
|
||||
}
|
||||
return nullptr;
|
||||
@@ -1693,8 +1693,6 @@ void QuestManager::respawn(int npcTypeID, int grid) {
|
||||
entity_list.AddNPC(owner->CastToNPC(),true,true);
|
||||
if(grid > 0)
|
||||
owner->CastToNPC()->AssignWaypoints(grid);
|
||||
|
||||
owner->SendPositionUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user