Fix compile ¬¬
+ Code Style (for, if, while) --HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -9023,7 +9023,7 @@ uint8 Player::FindEquipSlot(ItemPrototype const* proto, uint32 slot, bool swap)
|
||||
if (ItemPrototype const *mhWeaponProto = mhWeapon->GetProto())
|
||||
if (mhWeaponProto->SubClass == ITEM_SUBCLASS_WEAPON_POLEARM || mhWeaponProto->SubClass == ITEM_SUBCLASS_WEAPON_STAFF)
|
||||
{
|
||||
AutoUnequipOffhandIfNeed(true);
|
||||
const_cast<Player *>(this)->AutoUnequipOffhandIfNeed(true);
|
||||
break;
|
||||
}
|
||||
if (CanDualWield() && CanTitanGrip() && proto->SubClass != ITEM_SUBCLASS_WEAPON_POLEARM && proto->SubClass != ITEM_SUBCLASS_WEAPON_STAFF)
|
||||
|
||||
Reference in New Issue
Block a user