From 7cd9a01954f6905dfb0e6a113b5799cc2442a39e Mon Sep 17 00:00:00 2001 From: QAston Date: Fri, 20 Mar 2009 20:54:59 +0100 Subject: Fix weapons speed. --HG-- branch : trunk --- src/game/Player.cpp | 2 +- src/game/Unit.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 1bacdfdd014..f168728108e 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -7052,7 +7052,7 @@ void Player::_ApplyItemBonuses(ItemPrototype const *proto, uint8 slot, bool appl ApplyFeralAPBonus(feral_bonus, apply); } - if(!IsInFeralForm() || !CanUseAttackType(attType)) + if(IsInFeralForm() || !CanUseAttackType(attType)) return; if (proto->Delay) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 5c27d51c4aa..ee596024541 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -12420,8 +12420,6 @@ uint32 Unit::GetCastingTimeForBonus( SpellEntry const *spellProto, DamageEffectT case SPELL_AURA_PERIODIC_LEECH: if ( GetSpellDuration(spellProto) ) overTime = GetSpellDuration(spellProto); - if (IsChanneledSpell(spellProto)) - ModSpellCastTime(spellProto, overTime); break; default: // -5% per additional effect -- cgit v1.2.3