fix: typo in function name

This commit is contained in:
jeefo 2024-03-12 09:36:32 +03:00
commit 99aac1b2ee
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
3 changed files with 3 additions and 3 deletions

View file

@ -1417,7 +1417,7 @@ void Bot::attackMovement () {
const auto &side = right * m_strafeSpeed * 0.2f;
const auto &spot = pev->origin + front + side + pev->velocity * m_frameInterval;
if (isSafeToMove (spot)) {
if (isNotSafeToMove (spot)) {
m_strafeSpeed = -m_strafeSpeed;
m_moveSpeed = -m_moveSpeed;