Changed: Merge changes from next patch

This commit is contained in:
kervala 2011-06-02 17:28:30 +02:00
parent d4a78b6fd1
commit 2d80b547fc

View file

@ -18084,7 +18084,7 @@ void CCharacter::resetTpTicketSlot()
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
void CCharacter::updateParry(ITEMFAMILY::EItemFamily family, SKILLS::ESkills skill) void CCharacter::updateParry(ITEMFAMILY::EItemFamily family, SKILLS::ESkills skill)
{ {
if (family == ITEMFAMILY::MELEE_WEAPON && skill < SKILLS::NUM_SKILLS) if ((family == ITEMFAMILY::MELEE_WEAPON || family == ITEMFAMILY::RANGE_WEAPON) && skill < SKILLS::NUM_SKILLS)
_CurrentParrySkill = skill; _CurrentParrySkill = skill;
else else
_CurrentParrySkill = BarehandCombatSkill; _CurrentParrySkill = BarehandCombatSkill;