mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 05:12:17 +00:00
Make use of the targetable_with_hotkey flag for SoF+
This commit is contained in:
1 parent
2d1999c961
commit
820f99067d
11 files changed
+20
-7
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user