mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +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