Core/Gameobjects: Move a log from FATAL to DEBUG

The log is triggered when a mage creates a portal to another map, uses it and then the portal despawns.

(cherry picked from commit a8ceb18cdf)

Conflicts:
	src/server/game/Entities/GameObject/GameObject.cpp
This commit is contained in:
jackpoz
2015-08-08 19:23:10 +02:00
committed by Carbenium
parent 4ee081f7bc
commit 175b0bcfb5

View File

@@ -116,7 +116,8 @@ void GameObject::RemoveFromOwner()
return;
}
TC_LOG_FATAL("misc", "Removed GameObject (%s SpellId: %u LinkedGO: %u) that just lost any reference to the owner (%s) GO list",
// This happens when a mage portal is despawned after the caster changes map (for example using the portal)
TC_LOG_DEBUG("misc", "Removed GameObject (%s SpellId: %u LinkedGO: %u) that just lost any reference to the owner (%s) GO list",
GetGUID().ToString().c_str(), m_spellId, GetGOInfo()->GetLinkedGameObjectEntry(), ownerGUID.ToString().c_str());
SetOwnerGUID(ObjectGuid::Empty);
}