Improved 3D mode mouselook

git-svn-id: https://svn.eduke32.com/eduke32@21 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-04-15 20:57:22 +00:00
parent 9b3757774c
commit 7e9b6aaea1

View file

@ -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);
}