mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 21:17:16 +00:00
Two crash fixes reported on the forums are hopefully fixed.
This commit is contained in:
1 parent
925ba2199e
commit
56825e9ed0
10 files changed
+24
-14
No files matched your search
+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