Core: Include the name and ID of the affected BG in Battleground::GetBGCreature() error-reporting
--HG-- branch : trunk
This commit is contained in:
1 parent
b0eaf1f42c
commit
f5492f82b5
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user