diff options
Diffstat (limited to 'src/game/TemporarySummon.cpp')
-rw-r--r-- | src/game/TemporarySummon.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/game/TemporarySummon.cpp b/src/game/TemporarySummon.cpp index 8005a6cb37d..11652460fc5 100644 --- a/src/game/TemporarySummon.cpp +++ b/src/game/TemporarySummon.cpp @@ -249,16 +249,10 @@ void TempSummon::RemoveFromWorld() return; if (m_Properties) - { if (uint32 slot = m_Properties->Slot) - { if (Unit* owner = GetSummoner()) - { - if (owner->m_SummonSlot[slot] = GetGUID()) + if (owner->m_SummonSlot[slot] == GetGUID()) owner->m_SummonSlot[slot] = 0; - } - } - } //if (GetOwnerGUID()) // sLog.outError("Unit %u has owner guid when removed from world", GetEntry()); |