mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-15 16:30:45 +00:00
- added a - sign to FindBestSector' default return.
This somehow get lost when the code was moved out of clipmove into a separate utility function.
This commit is contained in:
parent
5cb41ab79d
commit
0716f822f8
1 changed files with 1 additions and 1 deletions
|
@ -1263,7 +1263,7 @@ int pushmove(DVector3& pos, sectortype** pSect, double walldist, double ceildist
|
|||
|
||||
int FindBestSector(const DVector3& pos)
|
||||
{
|
||||
int bestnum = 1;
|
||||
int bestnum = -1;
|
||||
double bestdist = FLT_MAX;
|
||||
for (int secnum = (int)sector.Size() - 1; secnum >= 0; secnum--)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue