aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-02 23:37:24 +0100
committerQAston <none@none>2009-03-02 23:37:24 +0100
commit1ebade03d51b2f6aa1bde099776f477b93c4e89e (patch)
treeae0e389e0ae2dba970352ff70f44d98051127b6b /src/game/Unit.h
parent352df954f6e1a8542118e8108928ea5fe268f431 (diff)
*Fix crash.
*Prevent applying cast time mod for spell twice. --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 449df62109e..8d08f793eac 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1477,7 +1477,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
int32 CalculateSpellDamage(SpellEntry const* spellProto, uint8 effect_index, int32 basePoints, Unit const* target);
int32 CalcSpellDuration(SpellEntry const* spellProto);
int32 ModSpellDuration(SpellEntry const* spellProto, uint8 effect_index, Unit const* target, int32 duration);
- void ModSpellCastTime(SpellEntry const* spellProto, int32 & castTime);
+ void ModSpellCastTime(SpellEntry const* spellProto, int32 & castTime, Spell const * spell=NULL);
float CalculateLevelPenalty(SpellEntry const* spellProto) const;
void addFollower(FollowerReference* pRef) { m_FollowingRefManager.insertFirst(pRef); }