mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 19:51:29 +00:00
FixZ on NPC initial spawn to keep NPC's from hopping
This commit is contained in:
parent
bb8c6da0b4
commit
718a2c2205
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user