mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
[Combat formation] Fix leftover code
This commit is contained in:
parent
4df77e6d95
commit
773bb7c43d
@ -2364,7 +2364,6 @@ bool TankFaceAction::Execute(Event event)
|
||||
{
|
||||
availablePos.push_back(Position(x, y, z));
|
||||
}
|
||||
availablePos.push_back(Position(x, y, z));
|
||||
}
|
||||
if (availablePos.empty())
|
||||
return false;
|
||||
@ -2544,7 +2543,6 @@ bool SetBehindTargetAction::Execute(Event event)
|
||||
{
|
||||
availablePos.push_back(Position(x, y, z));
|
||||
}
|
||||
availablePos.push_back(Position(x, y, z));
|
||||
}
|
||||
target->GetNearPoint(bot, x, y, z, 0.0f, dist, goodAngle2);
|
||||
if (bot->GetMap()->CheckCollisionAndGetValidCoords(bot, bot->GetPositionX(), bot->GetPositionY(), bot->GetPositionZ(),
|
||||
@ -2557,7 +2555,6 @@ bool SetBehindTargetAction::Execute(Event event)
|
||||
{
|
||||
availablePos.push_back(Position(x, y, z));
|
||||
}
|
||||
availablePos.push_back(Position(x, y, z));
|
||||
}
|
||||
if (availablePos.empty())
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user