mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-02 02:01:19 +00:00
* Added missing po_man.h.
* Updated to ZDoom r2450: - Added DavidPH's Poison damage extension but changed it so that the metadata can be removed. - Added Firebrand's patch to rename 'swap' due to naming conflicts in newer MSVC compilers. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@848 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
2e875d89e6
commit
5c0247886e
36 changed files with 274 additions and 59 deletions
|
@ -381,7 +381,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