mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-22 12:11:21 +00:00
Improved 3D mode mouselook
git-svn-id: https://svn.eduke32.com/eduke32@21 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9b3757774c
commit
7e9b6aaea1
1 changed files with 4 additions and 4 deletions
|
@ -529,14 +529,14 @@ void editinput(void)
|
|||
|
||||
if (mlook == 1)
|
||||
{
|
||||
ang += (mousx);
|
||||
horiz -= (mousy+mouseysurp);
|
||||
ang += mousx;
|
||||
horiz -= mousy>>1;
|
||||
if (horiz > 299)
|
||||
horiz = 299;
|
||||
if (horiz < -99)
|
||||
horiz = -99;
|
||||
searchx = (xdim/2);
|
||||
searchy = (ydim/2);
|
||||
searchx = xdim>>1;
|
||||
searchy = ydim>>1;
|
||||
osearchx = searchx-mousx;
|
||||
osearchy = searchy-(mousy+mouseysurp);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue