[Bug] UINT32 EmoteID (#2369)

emoteid packet structure is UINT32 but a number of references are in UINT16.
This commit is contained in:
Michael authored and GitHub committed 2022-08-13 18:41:14 -05:00
1 parent 79285b1002
commit f6889d20e9
8 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -699,7 +699,7 @@ void EntityList::AddNPC(NPC *npc, bool SendSpawnPacket, bool dontqueue)
}
parse->EventNPC(EVENT_SPAWN, npc, nullptr, "", 0);
uint16 emoteid = npc->GetEmoteID();
uint32 emoteid = npc->GetEmoteID();
if (emoteid != 0)
npc->DoNPCEmote(ONSPAWN, emoteid);
npc->SetSpawned();