mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-03 21:42:26 +00:00
[Bug Fix] Fix issue with spawning Mercs (#3327)
This commit is contained in:
parent
958549b407
commit
db916e946e
@ -4302,7 +4302,7 @@ Merc* Merc::LoadMerc(Client *c, MercTemplate* merc_template, uint32 merchant_id,
|
|||||||
|
|
||||||
const NPCType* npc_type_to_copy = nullptr;
|
const NPCType* npc_type_to_copy = nullptr;
|
||||||
if (c) {
|
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)
|
if(npc_type_to_copy != nullptr)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user