mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
Duke3d: zero player .horizRecenter, .horizSkew, and .horizAngleAdjust in P_ResetPlayer()
This commit is contained in:
parent
ca994b31c9
commit
0ec9dd9a14
1 changed files with 4 additions and 0 deletions
|
@ -777,6 +777,10 @@ void P_ResetPlayer(int playerNum)
|
|||
? PWEAPON(playerNum, p.curr_weapon, TotalTime)
|
||||
: 0;
|
||||
|
||||
g_player[playerNum].horizRecenter = 0;
|
||||
g_player[playerNum].horizSkew = 0;
|
||||
g_player[playerNum].horizAngleAdjust = 0;
|
||||
|
||||
P_UpdateScreenPal(&p);
|
||||
VM_OnEvent(EVENT_RESETPLAYER, p.i, playerNum);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue