mirror of
https://github.com/araxiaonline/AzerothCore-wotlk-with-NPCBots.git
synced 2026-06-13 03:22:24 -04:00
NPCBots: Fix CI clang build 1
This commit is contained in:
@@ -131,7 +131,7 @@ enum SoundSetModels : uint32
|
||||
SOUNDSETMODEL_BLOODELF_FEMALE_3 = 15520
|
||||
};
|
||||
|
||||
static constexpr size_t RaceToRaceOffset[] = {
|
||||
static constexpr size_t RaceToRaceOffset[MAX_RACES] = {
|
||||
RACE_NONE,
|
||||
0, //RACE_HUMAN
|
||||
5, //RACE_ORC
|
||||
@@ -431,25 +431,25 @@ static std::pair<uint8, uint8> GetZoneLevels(uint32 zoneId)
|
||||
}
|
||||
}
|
||||
|
||||
static bool IsNoWPZone(uint32 zoneId)
|
||||
{
|
||||
//Only maps 0 and 1 are covered
|
||||
switch (zoneId)
|
||||
{
|
||||
case 1477: // Moonglade
|
||||
case 1519: // Stormwind
|
||||
case 1537: // Ironforge
|
||||
case 1637: // Orgrimmar
|
||||
case 1638: // Thunder Bluff
|
||||
case 1657: // Darnassus
|
||||
case 3487: // Silvermoon
|
||||
case 3557: // Exodar
|
||||
case 493: // Moonglade
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
//static bool IsNoWPZone(uint32 zoneId)
|
||||
//{
|
||||
// //Only maps 0 and 1 are covered
|
||||
// switch (zoneId)
|
||||
// {
|
||||
// case 1477: // Moonglade
|
||||
// case 1519: // Stormwind
|
||||
// case 1537: // Ironforge
|
||||
// case 1637: // Orgrimmar
|
||||
// case 1638: // Thunder Bluff
|
||||
// case 1657: // Darnassus
|
||||
// case 3487: // Silvermoon
|
||||
// case 3557: // Exodar
|
||||
// case 493: // Moonglade
|
||||
// return true;
|
||||
// default:
|
||||
// return false;
|
||||
// }
|
||||
//}
|
||||
|
||||
static uint32 GetZoneIdOverride(uint32 zoneId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user