[Battlegrounds] additional change I meant to include last commit

This commit is contained in:
Fuzz
2024-08-02 17:17:22 +10:00
parent ff6106bf8d
commit c050c69884

View File

@@ -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);