aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoschiwald <joschiwald.trinity@gmail.com>2017-12-10 20:26:05 +0100
committerjoschiwald <joschiwald.trinity@gmail.com>2017-12-10 20:26:05 +0100
commit2362abbce08ac1d63da4d0b22329078f25e3be61 (patch)
treed2609cae82d0f59feb4daa85d880403290654c87
parent54d0b31c40483ab52d366b35d99d5f57d6923e13 (diff)
Fixed build
-rw-r--r--src/server/game/Entities/Unit/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
index bfeb2411e32..ae62f96cc3d 100644
--- a/src/server/game/Entities/Unit/Unit.cpp
+++ b/src/server/game/Entities/Unit/Unit.cpp
@@ -1059,7 +1059,7 @@ void Unit::CastSpell(float x, float y, float z, uint32 spellId, TriggerCastFlags
SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(spellId);
if (!spellInfo)
{
- TC_LOG_ERROR("entities.unit", "CastSpell: unknown spell id %u by caster: %s %u)", spellId, (GetTypeId() == TYPEID_PLAYER ? "player (GUID:" : "creature (Entry:"), (GetTypeId() == TYPEID_PLAYER ? GetGUID().GetCounter() : GetEntry()));
+ TC_LOG_ERROR("entities.unit", "CastSpell: unknown spell id %u by caster: %s", spellId, GetGUID().ToString().c_str());
return;
}
SpellCastTargets targets;