aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-11 21:51:24 +0100
committerQAston <none@none>2009-03-11 21:51:24 +0100
commit5808c12f5e9112f565c35a4a1f1ad76b4a9049cd (patch)
tree0a631be3e704cb2f3382e9deabbe9232896544b0 /src/game/SpellAuras.cpp
parentc3026bc7556c0c9511a043756d35d6b8ec1eb692 (diff)
*Fix crash.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 0f93e915adb..e361f09aa24 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -1010,6 +1010,11 @@ void Aura::SetStackAmount(uint8 stackAmount)
RefreshAura();
}
+void Aura::InitStackAmount(uint8 stackAmount)
+{
+ m_stackAmount = stackAmount;
+}
+
bool Aura::modStackAmount(int32 num)
{
// Can`t mod