From f5492f82b56c7182f7cb8fbba56acd9a2fce4e01 Mon Sep 17 00:00:00 2001 From: click Date: Sun, 26 Dec 2010 00:06:03 +0100 Subject: Core: Include the name and ID of the affected BG in Battleground::GetBGCreature() error-reporting --HG-- branch : trunk --- src/server/game/Battlegrounds/Battleground.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp index 966fc056f46..202447f95ab 100755 --- a/src/server/game/Battlegrounds/Battleground.cpp +++ b/src/server/game/Battlegrounds/Battleground.cpp @@ -1496,7 +1496,7 @@ Creature* Battleground::GetBGCreature(uint32 type) { Creature *creature = GetBgMap()->GetCreature(m_BgCreatures[type]); if (!creature) - sLog->outError("couldn't get creature %i",type); + sLog->outError("Could not get BG creature %i (BG: %s Instance: %u)", type, GetBgMap()->GetBG()->GetName(), GetBgMap()->GetInstanceId()); return creature; } -- cgit v1.2.3