Remove unnecesary item enchants checks

By Az@zel
Closes issue #382

--HG--
branch : trunk
This commit is contained in:
Spp
2010-01-30 20:48:23 +01:00
parent ba59411178
commit aee31b9164
3 changed files with 0 additions and 32 deletions
-6
View File
@@ -10890,12 +10890,6 @@ uint8 Player::CanUseItem( Item *pItem, bool not_loading ) const
if (getLevel() < pProto->RequiredLevel)
return EQUIP_ERR_CANT_EQUIP_LEVEL_I;
if (getLevel() < pItem->GetEnchantRequiredLevel())
return EQUIP_ERR_CANT_EQUIP_LEVEL_I;
if (!pItem->HasEnchantRequiredSkill(this))
return EQUIP_ERR_NO_REQUIRED_PROFICIENCY;
return EQUIP_ERR_OK;
}
}