diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index 02f165273..9d2dd80e0 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -3256,7 +3256,8 @@ 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; + if ((angdif > -8 && angdif < 0) || (angdif > 0 && angdif < 8)) + angdif = 0; g_sp->ang += angdif; } @@ -3268,8 +3269,8 @@ 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 = ksgn(getincangle(g_sp->ang,goalang))<<5; - if ((angdif > -32 && angdif < 0) || (angdif > 0 && angdif < 32)) + angdif = getincangle(g_sp->ang,goalang)>>3; + if ((angdif > -8 && angdif < 0) || (angdif > 0 && angdif < 8)) { angdif = 0; g_sp->ang = goalang; @@ -3290,7 +3291,8 @@ 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; + if ((angdif > -8 && angdif < 0) || (angdif > 0 && angdif < 8)) + angdif = 0; g_sp->ang += angdif; } diff --git a/polymer/eduke32/source/premap.c b/polymer/eduke32/source/premap.c index ff272f973..44e5023e7 100644 --- a/polymer/eduke32/source/premap.c +++ b/polymer/eduke32/source/premap.c @@ -474,7 +474,7 @@ void cacheit(void) } if (totalclock - tc > TICRATE/4) { - sprintf(tempbuf,"Loading textures ... %ld%%\n",min(100,100*pc/precachecount)); + sprintf(tempbuf,"Loading resources... %ld%%\n",min(100,100*pc/precachecount)); dofrontscreens(tempbuf); tc = totalclock; }