aboutsummaryrefslogtreecommitdiff
path: root/src/game/Totem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Totem.cpp')
-rw-r--r--src/game/Totem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Totem.cpp b/src/game/Totem.cpp
index 266fe476012..df6c55dae82 100644
--- a/src/game/Totem.cpp
+++ b/src/game/Totem.cpp
@@ -111,11 +111,11 @@ void Totem::UnSummon()
if (owner)
{
// clear owenr's totem slot
- for(int i = 0; i < MAX_TOTEM; ++i)
+ for(int i = SUMMON_SLOT_TOTEM; i < MAX_TOTEM_SLOT; ++i)
{
- if(owner->m_TotemSlot[i]==GetGUID())
+ if(owner->m_SummonSlot[i]==GetGUID())
{
- owner->m_TotemSlot[i] = 0;
+ owner->m_SummonSlot[i] = 0;
break;
}
}