fix: typo in function name
This commit is contained in:
parent
6e09cee0ee
commit
99aac1b2ee
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue