[Bug Fix] Fix issue with spawning Mercs (#3327)

This commit is contained in:
Aeadoin authored and GitHub committed 2023-04-29 18:45:35 -04:00
1 parent 958549b407
commit db916e946e
1 file changed
+1 -1
+1 -1
View File
@@ -4302,7 +4302,7 @@ Merc* Merc::LoadMerc(Client *c, MercTemplate* merc_template, uint32 merchant_id,
const NPCType* npc_type_to_copy = nullptr;
if (c) {
const NPCType* npc_type_to_copy = content_db.GetMercType(merc_template->MercNPCID, merc_template->RaceID, c->GetLevel());
npc_type_to_copy = content_db.GetMercType(merc_template->MercNPCID, merc_template->RaceID, c->GetLevel());
}
if(npc_type_to_copy != nullptr)