mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Merge branch 'master' of https://github.com/EQEmu/Server
This commit is contained in:
commit
d037bc9dcc
@ -4766,6 +4766,7 @@ Merc* Merc::LoadMerc(Client *c, MercTemplate* merc_template, uint32 merchant_id,
|
|||||||
npc_type->no_target_hotkey = 1;
|
npc_type->no_target_hotkey = 1;
|
||||||
|
|
||||||
Merc* merc = new Merc(npc_type, c->GetX(), c->GetY(), c->GetZ(), 0);
|
Merc* merc = new Merc(npc_type, c->GetX(), c->GetY(), c->GetZ(), 0);
|
||||||
|
merc->GiveNPCTypeData(npc_type); // for clean up, works a bit like pets
|
||||||
|
|
||||||
if(merc)
|
if(merc)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user