- 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
|
|
@ -679,7 +679,7 @@ void P_DoNewChaseDir (AActor *actor, fixed_t deltax, fixed_t deltay)
|
|||
{
|
||||
if ((pr_newchasedir() > 200 || abs(deltay) > abs(deltax)))
|
||||
{
|
||||
swap (d[1], d[2]);
|
||||
swapvalues (d[1], d[2]);
|
||||
}
|
||||
|
||||
if (d[1] == turnaround)
|
||||
|
|
@ -997,7 +997,7 @@ void P_RandomChaseDir (AActor *actor)
|
|||
// try other directions
|
||||
if (pr_newchasedir() > 200 || abs(deltay) > abs(deltax))
|
||||
{
|
||||
swap (d[1], d[2]);
|
||||
swapvalues (d[1], d[2]);
|
||||
}
|
||||
|
||||
if (d[1] == turnaround)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue