Skip to content

Commit e9a6a8e

Browse files
committed
Fixed broken comparison
1 parent a03c93c commit e9a6a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Entities/AHuman.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ void AHuman::PreControllerUpdate() {
15021502
// Only if not jumping, OR if jumping, and apparently stuck on something - then help out with the limbs.
15031503
if (m_MovementState != JUMP || isStill) {
15041504
MovementState oldMoveState = m_MovementState;
1505-
if (!m_ProneState == NOTPRONE) {
1505+
if (m_ProneState != NOTPRONE) {
15061506
m_MovementState = CRAWL;
15071507
} else if (m_CanRun && m_Controller.IsState(MOVE_FAST) && !m_Controller.IsState(BODY_CROUCH)) {
15081508
m_MovementState = RUN;

0 commit comments

Comments
 (0)