Merge pull request #1639 from brighton-chi/fix-debug-typo

Fix typo in RandomPlayerbotMgr.cpp
This commit is contained in:
kadeshar
2025-09-17 18:53:18 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -494,7 +494,7 @@ AiPlayerbot.AutoGearScoreLimit = 0
# Enable/Disable cheats for bots # Enable/Disable cheats for bots
# "food" (bots eat or drink without using food or drinks from their inventory) # "food" (bots eat or drink without using food or drinks from their inventory)
# "gold" (bots have infinite gold) # "gold" (bots have infinite gold)
# "health" (bots have infinite health) # "health" (bots immediately regenerate lost health)
# "mana" (bots have infinite mana) # "mana" (bots have infinite mana)
# "power" (bots have infinite energy, rage, and runic power) # "power" (bots have infinite energy, rage, and runic power)
# "taxi" (bots may use all flight paths, though they will not actually learn them) # "taxi" (bots may use all flight paths, though they will not actually learn them)

View File

@@ -897,7 +897,7 @@ void RandomPlayerbotMgr::LoadBattleMastersCache()
{ {
BattleMastersCache.clear(); BattleMastersCache.clear();
LOG_INFO("playerbots", "Loading BattleMasters Cache..."); LOG_INFO("playerbots", "Loading Battlemasters Cache...");
QueryResult result = WorldDatabase.Query("SELECT `entry`,`bg_template` FROM `battlemaster_entry`"); QueryResult result = WorldDatabase.Query("SELECT `entry`,`bg_template` FROM `battlemaster_entry`");
@@ -940,7 +940,7 @@ void RandomPlayerbotMgr::LoadBattleMastersCache()
BattleMastersCache[bmTeam][BattlegroundTypeId(bgTypeId)].insert( BattleMastersCache[bmTeam][BattlegroundTypeId(bgTypeId)].insert(
BattleMastersCache[bmTeam][BattlegroundTypeId(bgTypeId)].end(), entry); BattleMastersCache[bmTeam][BattlegroundTypeId(bgTypeId)].end(), entry);
LOG_DEBUG("playerbots", "Cached Battmemaster #{} for BG Type {} ({})", entry, bgTypeId, LOG_DEBUG("playerbots", "Cached Battlemaster #{} for BG Type {} ({})", entry, bgTypeId,
bmTeam == TEAM_ALLIANCE ? "Alliance" bmTeam == TEAM_ALLIANCE ? "Alliance"
: bmTeam == TEAM_HORDE ? "Horde" : bmTeam == TEAM_HORDE ? "Horde"
: "Neutral"); : "Neutral");