mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-28 07:56:24 +00: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:
|
case BATTLEGROUND_WS:
|
||||||
{
|
{
|
||||||
if (bot->IsWithinDistInMap(go, INTERACTION_DISTANCE))
|
if (dist < INTERACTION_DISTANCE)
|
||||||
{
|
{
|
||||||
if (atBase)
|
if (atBase)
|
||||||
{
|
{
|
||||||
@@ -4875,7 +4875,7 @@ bool BGTactics::atFlag(std::vector<BattleBotPath*> const& vPaths, std::vector<ui
|
|||||||
}
|
}
|
||||||
case BATTLEGROUND_EY:
|
case BATTLEGROUND_EY:
|
||||||
{
|
{
|
||||||
if (bot->IsWithinDistInMap(go, INTERACTION_DISTANCE))
|
if (dist < INTERACTION_DISTANCE)
|
||||||
{
|
{
|
||||||
if (bot->IsMounted())
|
if (bot->IsMounted())
|
||||||
bot->RemoveAurasByType(SPELL_AURA_MOUNTED);
|
bot->RemoveAurasByType(SPELL_AURA_MOUNTED);
|
||||||
|
|||||||
Reference in New Issue
Block a user