mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +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];
|
auto p = &ps[snum];
|
||||||
|
|
||||||
p->lookLeft = false;
|
p->lookLeft = false;
|
||||||
|
p->lookRight = false;
|
||||||
if ((sb_snum & SKB_LOOK_LEFT) && !p->OnMotorcycle)
|
if ((sb_snum & SKB_LOOK_LEFT) && !p->OnMotorcycle)
|
||||||
{
|
{
|
||||||
SetGameVarID(g_iReturnVarID, 0, p->i, snum);
|
SetGameVarID(g_iReturnVarID, 0, p->i, snum);
|
||||||
|
|
Loading…
Reference in a new issue