aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellHandler.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-07-11 13:03:06 +0200
committerQAston <none@none>2009-07-11 13:03:06 +0200
commit4dc5242a6939fd172ea7bfb293125de51f654e5b (patch)
tree61386e3cd0b2dbb1da88d75cef03e30991efb102 /src/game/SpellHandler.cpp
parent043932dbea0829cf2894a20de811e2406daf7f25 (diff)
*Fix Desecration.
*Correct a typo which made some of charged auras to be not dropped. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellHandler.cpp')
-rw-r--r--src/game/SpellHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp
index 74313eaa38b..0e9261598a8 100644
--- a/src/game/SpellHandler.cpp
+++ b/src/game/SpellHandler.cpp
@@ -359,7 +359,7 @@ void WorldSession::HandleCastSpellOpcode(WorldPacket& recvPacket)
}
Spell *spell = new Spell(mover, spellInfo, false);
- spell->m_cast_count = cast_count; // set count of casts
+ spell->m_cast_count = ++cast_count; // set count of casts
spell->prepare(&targets);
}