mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 13:21:20 +00:00
P_SetPlayerMobjState was replaced with P_SetMobjState
P_SetPlayerMobjState was replaced with P_SetMobjState
This commit is contained in:
parent
0d91456053
commit
1a0dff8fd3
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
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
|
{ //! 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)
|
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
|
else
|
||||||
P_SetPlayerMobjState(player->mo, S_PLAY_FALL);
|
P_SetMobjState(player->mo, S_PLAY_FALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If Springing (or nojumpspinning), but travelling DOWNWARD, change back!
|
// If Springing (or nojumpspinning), but travelling DOWNWARD, change back!
|
||||||
|
|
Loading…
Reference in a new issue