Update client_process.cpp

This commit is contained in:
Akkadius 2016-10-15 14:54:57 -05:00 committed by GitHub
parent c263c4ef07
commit 56babc1801

View File

@ -858,14 +858,12 @@ void Client::BulkSendMerchantInventory(int merchant_id, int npcid) {
int32 fac = merch ? merch->GetPrimaryFaction() : 0; int32 fac = merch ? merch->GetPrimaryFaction() : 0;
int32 cur_fac_level; int32 cur_fac_level;
if (fac == 0 || sneaking) if (fac == 0 || sneaking) {
{
cur_fac_level = 0; cur_fac_level = 0;
} }
else else {
{
cur_fac_level = GetModCharacterFactionLevel(fac); cur_fac_level = GetModCharacterFactionLevel(fac);
} }
if (cur_fac_level < ml.faction_required) if (cur_fac_level < ml.faction_required)
continue; continue;