mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +01:00
Typo
This commit is contained in:
parent
45303d55c1
commit
4021387387
@ -167,7 +167,7 @@ bool RearFlankPositionAction::isUseful()
|
|||||||
// Total 180 degrees (whole front half)
|
// Total 180 degrees (whole front half)
|
||||||
bool inFront = boss->HasInArc(2.f * DRAGON_MELEE_MIN_ANGLE, bot);
|
bool inFront = boss->HasInArc(2.f * DRAGON_MELEE_MIN_ANGLE, bot);
|
||||||
// Rear check does not need to double this angle as the logic is inverted
|
// Rear check does not need to double this angle as the logic is inverted
|
||||||
// and we are subtracing from 2pi.
|
// and we are subtracting from 2pi.
|
||||||
bool inBack = !boss->HasInArc((2.f * M_PI) - DRAGON_MELEE_MAX_ANGLE, bot);
|
bool inBack = !boss->HasInArc((2.f * M_PI) - DRAGON_MELEE_MAX_ANGLE, bot);
|
||||||
|
|
||||||
return inFront || inBack;
|
return inFront || inBack;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user