Core: Fix some warnings
--HG-- branch : trunk
This commit is contained in:
@@ -836,8 +836,10 @@ const uint32 BattlegroundAV::GetObjectThroughNode(BG_AV_Nodes node)
|
||||
else if (m_Nodes[node].Owner == HORDE)
|
||||
{
|
||||
if (m_Nodes[node].State == POINT_ASSAULTED)
|
||||
{
|
||||
if (node <= BG_AV_NODES_STONEHEART_BUNKER)
|
||||
return node+22;
|
||||
}
|
||||
else if (m_Nodes[node].State == POINT_CONTROLED)
|
||||
{
|
||||
if (node <= BG_AV_NODES_FROSTWOLF_HUT)
|
||||
@@ -1388,7 +1390,7 @@ const char* BattlegroundAV::GetNodeName(BG_AV_Nodes node)
|
||||
case BG_AV_NODES_FROSTWOLF_HUT: return GetTrinityString(LANG_BG_AV_NODE_GRAVE_FROST_HUT);
|
||||
default:
|
||||
{
|
||||
sLog.outError("tried to get name for node %u%",node);
|
||||
sLog.outError("tried to get name for node %u",node);
|
||||
return "Unknown";
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user