Skip to content

Commit

Permalink
possible fix for double-charge effect. related to #873. testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsa committed Apr 10, 2012
1 parent 8a3b558 commit fa58e26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/game/PointMovementGenerator.h
Expand Up @@ -71,6 +71,7 @@ class EffectMovementGenerator : public MovementGenerator
void Reset(Unit &) {}
bool Update(Unit &u, const uint32 &);
MovementGeneratorType GetMovementGeneratorType() const { return EFFECT_MOTION_TYPE; }
const char* Name() const { return "<Effect>"; }
private:
uint32 m_Id;
};
Expand Down
2 changes: 1 addition & 1 deletion src/game/Spell.cpp
Expand Up @@ -1098,7 +1098,7 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)
damageInfo.procVictim = PROC_FLAG_NONE;
}

if (m_spellInfo->speed > 0)
if (m_spellInfo->speed > 0 || GetDelayStart())
{
// mark effects that were already handled in Spell::HandleDelayedSpellLaunch on spell launch as processed
for (int32 i = 0; i < MAX_EFFECT_INDEX; ++i)
Expand Down

0 comments on commit fa58e26

Please sign in to comment.