mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- ensure p->lookRight is reset to false in start checklook()
like lookLeft is.
Repairs issue where player never returned to centre when they pressed the look right key.
This commit is contained in:
parent
253dea7610
commit
be0cbeed65
1 changed files with 1 additions and 0 deletions
|
@ -822,6 +822,7 @@ void checklook(int snum, int sb_snum)
|
|||
auto p = &ps[snum];
|
||||
|
||||
p->lookLeft = false;
|
||||
p->lookRight = false;
|
||||
if ((sb_snum & SKB_LOOK_LEFT) && !p->OnMotorcycle)
|
||||
{
|
||||
SetGameVarID(g_iReturnVarID, 0, p->i, snum);
|
||||
|
|
Loading…
Reference in a new issue