1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-28 20:06:41 +00:00

Minor bugfix #646 change

This commit is contained in:
Glorf 2013-04-02 14:08:59 +02:00
parent d25c838e1d
commit 900c2cfa81

View file

@ -111,8 +111,6 @@ namespace MWWorld
//Disable twohanded when shield equipped, shield when twohanded equipped //Disable twohanded when shield equipped, shield when twohanded equipped
if(*slot == MWWorld::InventoryStore::Slot_CarriedRight) if(*slot == MWWorld::InventoryStore::Slot_CarriedRight)
{ {
invStore.equip(*slot, it);
if (it.getType() == MWWorld::ContainerStore::Type_Weapon) if (it.getType() == MWWorld::ContainerStore::Type_Weapon)
{ {
if(it->get<ESM::Weapon>()->mBase->mData.mType == ESM::Weapon::LongBladeTwoHand || if(it->get<ESM::Weapon>()->mBase->mData.mType == ESM::Weapon::LongBladeTwoHand ||