mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
Update player slope immediately after lookdir (#1235)
This commit is contained in:
parent
921f311cea
commit
1cec87ee7e
@ -388,6 +388,8 @@ void P_PlayerThink (player_t* player)
|
||||
player->lookdir = 0;
|
||||
player->centering = false;
|
||||
}
|
||||
|
||||
player->slope = PLAYER_SLOPE(player);
|
||||
}
|
||||
|
||||
// [crispy] weapon recoil pitch
|
||||
@ -405,7 +407,6 @@ void P_PlayerThink (player_t* player)
|
||||
|
||||
if (player->playerstate == PST_DEAD)
|
||||
{
|
||||
player->slope = PLAYER_SLOPE(player); // For 3D audio pitch angle.
|
||||
P_DeathThink (player);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user