fix: commands execution order

This commit is contained in:
jeefo 2025-08-23 18:17:32 +03:00
commit e22b0ffeea
No known key found for this signature in database
GPG key ID: D696786B81B667C8
4 changed files with 52 additions and 45 deletions

View file

@ -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) {