mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
Two crash fixes reported on the forums are hopefully fixed.
This commit is contained in:
+1
-1
@@ -621,7 +621,7 @@ void EntityList::AddNPC(NPC* npc, bool SendSpawnPacket, bool dontqueue) {
|
||||
npc->SetID(GetFreeID());
|
||||
parse->EventNPC(EVENT_SPAWN, npc, NULL, "", 0);
|
||||
|
||||
uint16 emoteid = npc->GetNPCEmoteID();
|
||||
uint16 emoteid = npc->GetEmoteID();
|
||||
if(emoteid != 0)
|
||||
npc->DoNPCEmote(ONSPAWN,emoteid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user