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)