mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
FixZ on NPC initial spawn to keep NPC's from hopping
This commit is contained in:
@@ -648,6 +648,8 @@ void EntityList::AddNPC(NPC *npc, bool SendSpawnPacket, bool dontqueue)
|
||||
|
||||
parse->EventNPC(EVENT_SPAWN, npc, nullptr, "", 0);
|
||||
|
||||
npc->FixZ();
|
||||
|
||||
uint16 emoteid = npc->GetEmoteID();
|
||||
if (emoteid != 0)
|
||||
npc->DoNPCEmote(ONSPAWN, emoteid);
|
||||
|
||||
Reference in New Issue
Block a user