mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@518 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
69d0e38805
commit
3fda3754cc
1 changed files with 1 additions and 10 deletions
|
@ -3256,8 +3256,6 @@ static void move(void)
|
|||
goalang = getangle(ps[g_p].oposx-g_sp->x,ps[g_p].oposy-g_sp->y);
|
||||
else goalang = getangle(ps[g_p].posx-g_sp->x,ps[g_p].posy-g_sp->y);
|
||||
angdif = getincangle(g_sp->ang,goalang)>>2;
|
||||
if ((angdif > -8 && angdif < 0) || (angdif > 0 && angdif < 8))
|
||||
angdif = 0;
|
||||
g_sp->ang += angdif;
|
||||
}
|
||||
|
||||
|
@ -3269,12 +3267,7 @@ static void move(void)
|
|||
if (ps[g_p].newowner >= 0)
|
||||
goalang = getangle(ps[g_p].oposx-g_sp->x,ps[g_p].oposy-g_sp->y);
|
||||
else goalang = getangle(ps[g_p].posx-g_sp->x,ps[g_p].posy-g_sp->y);
|
||||
angdif = getincangle(g_sp->ang,goalang)>>3;
|
||||
if ((angdif > -8 && angdif < 0) || (angdif > 0 && angdif < 8))
|
||||
{
|
||||
angdif = 0;
|
||||
g_sp->ang = goalang;
|
||||
}
|
||||
angdif = getincangle(g_sp->ang,goalang)>>4;
|
||||
g_sp->ang += angdif;
|
||||
}
|
||||
|
||||
|
@ -3291,8 +3284,6 @@ static void move(void)
|
|||
|
||||
goalang = getangle(newx-g_sp->x,newy-g_sp->y);
|
||||
angdif = getincangle(g_sp->ang,goalang)>>2;
|
||||
if ((angdif > -8 && angdif < 0) || (angdif > 0 && angdif < 8))
|
||||
angdif = 0;
|
||||
g_sp->ang += angdif;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue