From 1a0dff8fd31e78743bdfbebb9d9f531c1c6536f8 Mon Sep 17 00:00:00 2001 From: Logan Aerl Arias Date: Sun, 18 Feb 2024 11:23:58 -0500 Subject: [PATCH] P_SetPlayerMobjState was replaced with P_SetMobjState P_SetPlayerMobjState was replaced with P_SetMobjState --- src/p_user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_user.c b/src/p_user.c index bfc0e0efd..cac8b0d0c 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -8571,9 +8571,9 @@ void P_MovePlayer(player_t *player) else if (player->mo->state-states == S_PLAY_WALK || player->mo->state-states == S_PLAY_RUN) { //! For better visual feedback while running, switch to rise/fall states when we go airborne if (P_MobjFlip(player->mo)*player->mo->momz > player->mo->scale * 10) - P_SetPlayerMobjState(player->mo, S_PLAY_SPRING); + P_SetMobjState(player->mo, S_PLAY_SPRING); else - P_SetPlayerMobjState(player->mo, S_PLAY_FALL); + P_SetMobjState(player->mo, S_PLAY_FALL); } // If Springing (or nojumpspinning), but travelling DOWNWARD, change back!