We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a03c93c commit e9a6a8eCopy full SHA for e9a6a8e
Source/Entities/AHuman.cpp
@@ -1502,7 +1502,7 @@ void AHuman::PreControllerUpdate() {
1502
// Only if not jumping, OR if jumping, and apparently stuck on something - then help out with the limbs.
1503
if (m_MovementState != JUMP || isStill) {
1504
MovementState oldMoveState = m_MovementState;
1505
- if (!m_ProneState == NOTPRONE) {
+ if (m_ProneState != NOTPRONE) {
1506
m_MovementState = CRAWL;
1507
} else if (m_CanRun && m_Controller.IsState(MOVE_FAST) && !m_Controller.IsState(BODY_CROUCH)) {
1508
m_MovementState = RUN;
0 commit comments