Core/Battleground: fix unneeded log message
This commit is contained in:
@@ -371,9 +371,10 @@ void BattlegroundAB::_NodeOccupied(uint8 node, Team team)
|
|||||||
|
|
||||||
if (node >= BG_AB_DYNAMIC_NODES_COUNT)//only dynamic nodes, no start points
|
if (node >= BG_AB_DYNAMIC_NODES_COUNT)//only dynamic nodes, no start points
|
||||||
return;
|
return;
|
||||||
Creature* trigger = GetBGCreature(node+7);//0-6 spirit guides
|
|
||||||
|
Creature* trigger = BgCreatures[node+7] ? GetBGCreature(node+7) : NULL;//0-6 spirit guides
|
||||||
if (!trigger)
|
if (!trigger)
|
||||||
trigger = AddCreature(WORLD_TRIGGER, node+7, team, BG_AB_NodePositions[node][0], BG_AB_NodePositions[node][1], BG_AB_NodePositions[node][2], BG_AB_NodePositions[node][3]);
|
trigger = AddCreature(WORLD_TRIGGER, node+7, team, BG_AB_NodePositions[node][0], BG_AB_NodePositions[node][1], BG_AB_NodePositions[node][2], BG_AB_NodePositions[node][3]);
|
||||||
|
|
||||||
//add bonus honor aura trigger creature when node is accupied
|
//add bonus honor aura trigger creature when node is accupied
|
||||||
//cast bonus aura (+50% honor in 25yards)
|
//cast bonus aura (+50% honor in 25yards)
|
||||||
|
|||||||
Reference in New Issue
Block a user