aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-08-08 19:23:10 +0200
committerCarbenium <carbenium@outlook.com>2015-09-24 19:57:31 +0200
commit175b0bcfb5b7f7cc4014f23a58afe495e5a7ff6e (patch)
treec1face7d2bc9c421e5efb04bdbd0a059efcc858a /src
parent4ee081f7bc328739361418a26a327627c1f6e6f4 (diff)
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 a8ceb18cdfe850fbb84ddd3d917565f2a100ebb7) Conflicts: src/server/game/Entities/GameObject/GameObject.cpp
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/GameObject/GameObject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp
index 486cf79f5cf..a9294de1e8f 100644
--- a/src/server/game/Entities/GameObject/GameObject.cpp
+++ b/src/server/game/Entities/GameObject/GameObject.cpp
@@ -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);
}