mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-05 21:30:55 +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)
|
? PWEAPON(playerNum, p.curr_weapon, TotalTime)
|
||||||
: 0;
|
: 0;
|
||||||
|
|
||||||
|
g_player[playerNum].horizRecenter = 0;
|
||||||
|
g_player[playerNum].horizSkew = 0;
|
||||||
|
g_player[playerNum].horizAngleAdjust = 0;
|
||||||
|
|
||||||
P_UpdateScreenPal(&p);
|
P_UpdateScreenPal(&p);
|
||||||
VM_OnEvent(EVENT_RESETPLAYER, p.i, playerNum);
|
VM_OnEvent(EVENT_RESETPLAYER, p.i, playerNum);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue