- added Firebrand's patch to rename 'swap' due to naming conflicts in newer MSVC compilers.
SVN r2449 (trunk)
This commit is contained in:
parent
4ac64b6df7
commit
545a892faa
28 changed files with 50 additions and 50 deletions
|
|
@ -377,7 +377,7 @@ fixed_t R_PointToDist2 (fixed_t dx, fixed_t dy)
|
|||
|
||||
if (dy > dx)
|
||||
{
|
||||
swap (dx, dy);
|
||||
swapvalues (dx, dy);
|
||||
}
|
||||
|
||||
return FixedDiv (dx, finecosine[tantoangle[FixedDiv (dy, dx) >> DBITS] >> ANGLETOFINESHIFT]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue