More warning removal (Some code modifications and cleanup when needed)
--HG-- branch : trunk
This commit is contained in:
1 parent
f74e969a06
commit
be01821050
46 files changed
+420
-353
No files matched your search
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user