Changed: Merge changes from next patch

hg/feature/sound
kervala 14 years ago
parent d4a78b6fd1
commit 2d80b547fc

@ -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;

Loading…
Cancel
Save