mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
[Battlegrounds] additional change I meant to include last commit
This commit is contained in:
parent
ff6106bf8d
commit
c050c69884
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user