Core: Fixed some build warnings

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-11-11 13:40:52 +01:00
parent 7dcfa7b63f
commit 7133f3f08e
2 changed files with 3 additions and 3 deletions
@@ -1387,12 +1387,11 @@ const char* BattlegroundAV::GetNodeName(BG_AV_Nodes node)
case BG_AV_NODES_FROSTWOLF_WTOWER: return GetTrinityString(LANG_BG_AV_NODE_TOWER_FROST_W); case BG_AV_NODES_FROSTWOLF_WTOWER: return GetTrinityString(LANG_BG_AV_NODE_TOWER_FROST_W);
case BG_AV_NODES_FROSTWOLF_HUT: return GetTrinityString(LANG_BG_AV_NODE_GRAVE_FROST_HUT); case BG_AV_NODES_FROSTWOLF_HUT: return GetTrinityString(LANG_BG_AV_NODE_GRAVE_FROST_HUT);
default: default:
{
sLog.outError("tried to get name for node %u",node); sLog.outError("tried to get name for node %u",node);
return "Unknown";
break; break;
}
} }
return "Unknown";
} }
void BattlegroundAV::AssaultNode(BG_AV_Nodes node, uint16 team) void BattlegroundAV::AssaultNode(BG_AV_Nodes node, uint16 team)
@@ -119,6 +119,7 @@ public:
{ {
case TYPE_EVENT: return m_auiEncounter[0]; case TYPE_EVENT: return m_auiEncounter[0];
} }
return 0;
} }
uint64 GetData64(uint32 uiType) uint64 GetData64(uint32 uiType)