mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- fixed incompatibility of FindDistance3D with Shadow Warrior.
Fixes #200 and most likely many other issues as well.
This commit is contained in:
parent
57cdcda253
commit
0a8f7e60b6
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ int FindDistance3D(int x, int y, int z)
|
|||
{
|
||||
x= abs(x); /* absolute values */
|
||||
y= abs(y);
|
||||
z= abs(z);
|
||||
z= abs(z >> 4);
|
||||
|
||||
if (x<y)
|
||||
std::swap(x,y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue