mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fucking tabs
git-svn-id: https://svn.eduke32.com/eduke32@7544 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
664c1ed38e
commit
52ccd82c17
1 changed files with 7 additions and 7 deletions
|
@ -11068,14 +11068,14 @@ void updatesectorz(int32_t const x, int32_t const y, int32_t const z, int16_t *
|
|||
|
||||
if ((unsigned)*sectnum >= (unsigned)numsectors)
|
||||
{
|
||||
if ((unsigned)*sectnum < (unsigned)numsectors + MAXSECTORS)
|
||||
{
|
||||
*sectnum -= MAXSECTORS;
|
||||
nofirstzcheck = true;
|
||||
}
|
||||
else
|
||||
if ((unsigned)*sectnum < (unsigned)numsectors + MAXSECTORS)
|
||||
{
|
||||
// we need to support passing in a sectnum of -1, unfortunately
|
||||
*sectnum -= MAXSECTORS;
|
||||
nofirstzcheck = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
// we need to support passing in a sectnum of -1, unfortunately
|
||||
for (int i = numsectors - 1; i >= 0; --i)
|
||||
if (inside_z_p(x, y, z, i))
|
||||
SET_AND_RETURN(*sectnum, i);
|
||||
|
|
Loading…
Reference in a new issue