Core/BGs: Fix a TC_LOG_ERROR call
This commit is contained in:
@@ -546,7 +546,7 @@ void BattlegroundIC::EventPlayerClickedOnFlag(Player* player, GameObject* target
|
||||
DelObject(nodePoint[i].gameobject_type);
|
||||
if (!AddObject(nodePoint[i].gameobject_type, nodePoint[i].gameobject_entry, cords[0], cords[1], cords[2], cords[3], 0, 0, 0, 0, RESPAWN_ONE_DAY))
|
||||
{
|
||||
TC_LOG_ERROR(LOG_FILTER_BATTLEGROUND, "Isle of Conquest: There was an error spawning a banner. Isle of Conquest BG canceled", nodePoint[i].gameobject_type, nodePoint[i].gameobject_entry);
|
||||
TC_LOG_ERROR(LOG_FILTER_BATTLEGROUND, "Isle of Conquest: There was an error spawning a banner (type: %u, entry: %u). Isle of Conquest BG cancelled.", nodePoint[i].gameobject_type, nodePoint[i].gameobject_entry);
|
||||
Battleground::EndBattleground(WINNER_NONE);
|
||||
}
|
||||
|
||||
|
||||
@@ -818,7 +818,7 @@ const Position allianceGunshipPassengers[5] =
|
||||
struct ICNodePoint
|
||||
{
|
||||
uint32 gameobject_type; // with this we will get the GameObject of that point
|
||||
uint32 gameobject_entry; // what gamoebject entry is active here.
|
||||
uint32 gameobject_entry; // what gameobject entry is active here.
|
||||
uint8 faction; // who has this node
|
||||
ICNodePointType nodeType; // here we can specify if it is graveyards, hangar etc...
|
||||
uint32 banners[4]; // the banners that have this point
|
||||
|
||||
Reference in New Issue
Block a user