- fixed several incorrect uses of abs instead of fabs.

This commit is contained in:
Christoph Oelckers 2014-07-27 21:57:05 +02:00
commit ece10bb57f
2 changed files with 5 additions and 5 deletions

View file

@ -731,7 +731,7 @@ void gl_RenderModel(GLSprite * spr, int cm)
{
if((x * cos(angle * M_PI / 180) + y * sin(angle * M_PI / 180)) / sqrt(x * x + y * y) < 0) pitch *= -1;
}
else pitch = abs(pitch);
else pitch = fabs(pitch);
}
if( smf->flags & MDL_ROTATING )