aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-07 08:55:11 -0600
committermegamage <none@none>2008-12-07 08:55:11 -0600
commitf593c806cb3b20881c5769cc7bcee747384b7c64 (patch)
treeca69f099d87a405f9eee0273684618f011f1cc13 /src
parentb89febe07695ccb004d09e9ee249baefc9ad5e6e (diff)
*Skip second cancast check for instant spells.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 9ab38ec9dec..3291b504ff2 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2813,7 +2813,7 @@ void Spell::update(uint32 difftime)
}
if(m_timer == 0 && !IsNextMeleeSwingSpell() && !IsAutoRepeat())
- cast();
+ cast(m_spellInfo->CastingTimeIndex == 1);
} break;
case SPELL_STATE_CASTING:
{