git-svn-id: https://svn.eduke32.com/eduke32@153 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2006-05-06 05:28:28 +00:00
parent 414d486de5
commit 9122c35836
2 changed files with 19 additions and 18 deletions

View file

@ -530,7 +530,7 @@ void editinput(void)
if (mlook == 1)
{
ang += mousx;
horiz -= mousy>>1;
horiz -= (mousy>>1)-1;
if (horiz > 299)
horiz = 299;
if (horiz < -99)

View file

@ -2994,8 +2994,9 @@ void displayrest(long smoothratio)
OnEvent(EVENT_DISPLAYCROSSHAIR, ps[screenpeek].i, screenpeek, -1);
if(GetGameVarID(g_iReturnVarID,ps[screenpeek].i,screenpeek) == 0)
rotatesprite((160L-(ps[myconnectindex].look_ang>>1))<<16,100L<<16,ud.crosshair>1?65536L>>(ud.crosshair-1):65536L,0,CROSSHAIR,0,0,2+1,windowx1,windowy1,windowx2,windowy2);
}
if(ud.idplayers)
if(ud.idplayers && ud.multimode > 1)
{
long sx,sy,sz;
short sect,hw,hs;
@ -3005,7 +3006,7 @@ void displayrest(long smoothratio)
sintable[ps[screenpeek].ang&2047],
(100-ps[screenpeek].horiz-ps[screenpeek].horizoff)<<11,&sect,&hw,&hs,&sx,&sy,&sz,CLIPMASK1);
if(sprite[hs].picnum == APLAYER)
if(sprite[hs].picnum == APLAYER && sprite[hs].yvel != screenpeek)
{
if(ps[screenpeek].fta == 0 || ps[screenpeek].ftq == 117)
{
@ -3015,7 +3016,7 @@ void displayrest(long smoothratio)
} else ps[screenpeek].fta--;
}
}
}
if(ps[myconnectindex].gm&MODE_TYPE)
typemode();
else