Make use of the targetable_with_hotkey flag for SoF+

This commit is contained in:
Michael Cook (mackal)
2014-12-10 01:19:44 -05:00
parent 2d1999c961
commit 820f99067d
11 changed files with 20 additions and 7 deletions
+1
View File
@@ -4772,6 +4772,7 @@ Merc* Merc::LoadMerc(Client *c, MercTemplate* merc_template, uint32 merchant_id,
npc_type->npc_id = 0; //NPC ID has to be 0, otherwise db gets all confuzzled.
npc_type->class_ = merc_template->ClassID;
npc_type->maxlevel = 0; //We should hard-set this to override scalerate's functionality in the NPC class when it is constructed.
npc_type->no_target_hotkey = 1;
Merc* merc = new Merc(npc_type, c->GetX(), c->GetY(), c->GetZ(), 0);