From db916e946e3286d75ed984683eb944f063df8c11 Mon Sep 17 00:00:00 2001 From: Aeadoin <109764533+Aeadoin@users.noreply.github.com> Date: Sat, 29 Apr 2023 18:45:35 -0400 Subject: [PATCH] [Bug Fix] Fix issue with spawning Mercs (#3327) --- zone/merc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/merc.cpp b/zone/merc.cpp index 816911945..ba8a004da 100644 --- a/zone/merc.cpp +++ b/zone/merc.cpp @@ -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)