aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclick <none@none>2010-12-26 00:06:03 +0100
committerclick <none@none>2010-12-26 00:06:03 +0100
commitf5492f82b56c7182f7cb8fbba56acd9a2fce4e01 (patch)
tree2fe36e60174bf0df8aa4fa8ef2293d0c78bb3f41
parentb0eaf1f42c35399e09fac36159f09166d8eb9f8e (diff)
Core: Include the name and ID of the affected BG in Battleground::GetBGCreature() error-reporting
--HG-- branch : trunk
-rwxr-xr-xsrc/server/game/Battlegrounds/Battleground.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}