Bug Fix for WorldServer::HandleMessage, CZUpdateType_NPC (#2074)

This commit is contained in:
cybernine186 2022-04-21 08:17:29 -04:00 committed by GitHub
parent ee54a7eb5f
commit 0d734a0837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2587,7 +2587,7 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
if (client) {
client->Signal(signal);
}
} else if (update_type = CZUpdateType_NPC) {
} else if (update_type == CZUpdateType_NPC) {
auto npc = entity_list.GetNPCByNPCTypeID(update_identifier);
if (npc) {
npc->SignalNPC(signal);