mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix typo in RandomPlayerbotMgr.cpp
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user