fix: commands execution order
This commit is contained in:
parent
64166213f6
commit
e22b0ffeea
4 changed files with 52 additions and 45 deletions
|
|
@ -1564,8 +1564,8 @@ void Bot::attackMovement () {
|
|||
m_strafeSetTime = strafeUpdateTime ();
|
||||
}
|
||||
|
||||
const bool wallOnRight = checkWallOnRight (96.0f);
|
||||
const bool wallOnLeft = checkWallOnLeft (96.0f);
|
||||
const bool wallOnRight = checkWallOnRight (134.0f);
|
||||
const bool wallOnLeft = checkWallOnLeft (134.0f);
|
||||
|
||||
if (m_dodgeStrafeDir == Dodge::Left) {
|
||||
if (!wallOnLeft) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue