mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
[Battlegrounds] additional change I meant to include last commit
This commit is contained in:
@@ -4827,7 +4827,7 @@ bool BGTactics::atFlag(std::vector<BattleBotPath*> const& vPaths, std::vector<ui
|
||||
}
|
||||
case BATTLEGROUND_WS:
|
||||
{
|
||||
if (bot->IsWithinDistInMap(go, INTERACTION_DISTANCE))
|
||||
if (dist < INTERACTION_DISTANCE)
|
||||
{
|
||||
if (atBase)
|
||||
{
|
||||
@@ -4875,7 +4875,7 @@ bool BGTactics::atFlag(std::vector<BattleBotPath*> const& vPaths, std::vector<ui
|
||||
}
|
||||
case BATTLEGROUND_EY:
|
||||
{
|
||||
if (bot->IsWithinDistInMap(go, INTERACTION_DISTANCE))
|
||||
if (dist < INTERACTION_DISTANCE)
|
||||
{
|
||||
if (bot->IsMounted())
|
||||
bot->RemoveAurasByType(SPELL_AURA_MOUNTED);
|
||||
|
||||
Reference in New Issue
Block a user