aboutsummaryrefslogtreecommitdiff
path: root/src/game/Totem.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-20 14:01:46 -0600
committermegamage <none@none>2009-03-20 14:01:46 -0600
commit8f627853dfaab8bfecd24bfd96ad02c6503d517e (patch)
treeab518e88d6bfd462e50998541cbcc1575134ce66 /src/game/Totem.cpp
parent7cd9a01954f6905dfb0e6a113b5799cc2442a39e (diff)
*More work on summon system.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Totem.cpp')
-rw-r--r--src/game/Totem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Totem.cpp b/src/game/Totem.cpp
index 0dc1ac41546..266fe476012 100644
--- a/src/game/Totem.cpp
+++ b/src/game/Totem.cpp
@@ -26,9 +26,9 @@
#include "ObjectMgr.h"
#include "SpellMgr.h"
-Totem::Totem() : TempSummon(0)
+Totem::Totem(SummonPropertiesEntry const *properties, Unit *owner) : TempSummon(properties, owner)
{
- m_isTotem = true;
+ m_summonMask |= SUMMON_MASK_TOTEM;
m_duration = 0;
m_type = TOTEM_PASSIVE;
}