2nd check for faction not needed - had to either check for sneaking again

or remove un-needed 2nd check.
This commit is contained in:
Paul Coene 2016-10-09 11:12:09 -04:00
parent 7b5ea9e99c
commit c263c4ef07

View File

@ -12134,11 +12134,6 @@ void Client::Handle_OP_ShopPlayerBuy(const EQApplicationPacket *app)
continue;
}
int32 fac = tmp->GetPrimaryFaction();
if (fac != 0 && GetModCharacterFactionLevel(fac) < ml.faction_required) {
continue;
}
if (mp->itemslot == ml.slot){
item_id = ml.item;
break;