mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
[Bug Fix] Merchant Open Flag set only for regular Merchants (#3454)
* [Bug Fix] Merchant Open Flag set only for regular Merchants * Update npc.cpp
This commit is contained in:
parent
a004924112
commit
b05f1d3218
@ -243,7 +243,14 @@ NPC::NPC(const NPCType *npc_type_data, Spawn2 *in_respawn, const glm::vec4 &posi
|
||||
SetMana(GetMaxMana());
|
||||
|
||||
MerchantType = npc_type_data->merchanttype;
|
||||
merchant_open = GetClass() == MERCHANT;
|
||||
merchant_open = (
|
||||
GetClass() == MERCHANT ||
|
||||
GetClass() == DISCORD_MERCHANT ||
|
||||
GetClass() == ADVENTURE_MERCHANT ||
|
||||
GetClass() == NORRATHS_KEEPERS_MERCHANT ||
|
||||
GetClass() == DARK_REIGN_MERCHANT ||
|
||||
GetClass() == ALT_CURRENCY_MERCHANT
|
||||
);
|
||||
adventure_template_id = npc_type_data->adventure_template;
|
||||
flymode = iflymode;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user