Fix compile ¬¬

+ Code Style (for, if, while)

--HG--
branch : trunk
This commit is contained in:
Spp
2010-04-24 17:48:52 +02:00
parent 9aa3fea857
commit a12c0aef85
11 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -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)