mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
- Duke: Don't allow looking left/right when on a security camera screen.
This commit is contained in:
parent
88608e0682
commit
53038e1b29
1 changed files with 6 additions and 0 deletions
|
@ -972,6 +972,12 @@ static void FinalizeInput(int playerNum, InputPacket& input, bool vehicle)
|
||||||
loc.q16horz = input.q16horz = 0;
|
loc.q16horz = input.q16horz = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Remove look left/right bits if looking through a camera.
|
||||||
|
if (p->newowner != -1)
|
||||||
|
{
|
||||||
|
loc.actions &= ~(SB_LOOK_LEFT | SB_LOOK_RIGHT);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue