Fix for bandolier 2H-weapon exploit

This commit is contained in:
Uleat 2016-06-02 20:07:25 -04:00
parent 62888170b0
commit 542dc16752

View File

@ -2721,6 +2721,8 @@ void Client::CreateBandolier(const EQApplicationPacket *app)
const EQEmu::ItemBase *BaseItem = nullptr;
int16 WeaponSlot = 0;
database.DeleteCharacterBandolier(this->CharacterID(), bs->Number);
for(int BandolierSlot = bandolierPrimary; BandolierSlot <= bandolierAmmo; BandolierSlot++) {
WeaponSlot = BandolierSlotToWeaponSlot(BandolierSlot);
InvItem = GetInv()[WeaponSlot];