- replaced all calls to sqrtf with sqrt. Also changed P_RadiusAttack to use doubles for all floating point calculations.
SVN r2989 (trunk)
This commit is contained in:
parent
dff4553663
commit
7dd8a0fce9
5 changed files with 25 additions and 25 deletions
|
|
@ -414,7 +414,7 @@ static void GetWallStuff (side_t *wall, vertex_t *&v1, fixed_t &ldx, fixed_t &ld
|
|||
|
||||
static fixed_t Length (fixed_t dx, fixed_t dy)
|
||||
{
|
||||
return (fixed_t)sqrtf ((float)dx*(float)dx+(float)dy*(float)dy);
|
||||
return (fixed_t)sqrt ((double)dx*(double)dx+(double)dy*(double)dy);
|
||||
}
|
||||
|
||||
static side_t *NextWall (const side_t *wall)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue