diff options
author | Spp <none@none> | 2010-04-19 17:03:10 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-19 17:03:10 +0200 |
commit | be01821050dd30ff65e89b347d528efb20aba028 (patch) | |
tree | 6d33e686bf1c5d664a7104a208a4e057c6337b1e /src/game/TemporarySummon.cpp | |
parent | f74e969a069646eca6227bdede974223c07e9c94 (diff) |
More warning removal (Some code modifications and cleanup when needed)
--HG--
branch : trunk
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()); |