mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-12 06:50:58 +00:00
- silence some warnings
This commit is contained in:
parent
30112e1289
commit
35fbc634de
1 changed files with 8 additions and 8 deletions
|
@ -177,8 +177,8 @@ void FAFhitscan(const DVector3& start, sectortype* sect, const DVector3& vect, H
|
||||||
ResetWallWarpHitscan(hit.hitSector);
|
ResetWallWarpHitscan(hit.hitSector);
|
||||||
|
|
||||||
// NOTE: This could be recursive I think if need be
|
// NOTE: This could be recursive I think if need be
|
||||||
auto start = hit.hitpos;
|
auto nstart = hit.hitpos;
|
||||||
hitscan(start, hit.hitSector, vect, hit, startclipmask);
|
hitscan(nstart, hit.hitSector, vect, hit, startclipmask);
|
||||||
|
|
||||||
// reset hitscan block for dest sect
|
// reset hitscan block for dest sect
|
||||||
SetWallWarpHitscan(hit.hitSector);
|
SetWallWarpHitscan(hit.hitSector);
|
||||||
|
@ -204,8 +204,8 @@ void FAFhitscan(const DVector3& start, sectortype* sect, const DVector3& vect, H
|
||||||
sectortype* newsect = nullptr;
|
sectortype* newsect = nullptr;
|
||||||
if (Warp(hit.hitpos, &newsect))
|
if (Warp(hit.hitpos, &newsect))
|
||||||
{
|
{
|
||||||
auto start = hit.hitpos;
|
auto nstart = hit.hitpos;
|
||||||
hitscan(start, newsect, vect, hit, clipmask);
|
hitscan(nstart, newsect, vect, hit, clipmask);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -214,8 +214,8 @@ void FAFhitscan(const DVector3& start, sectortype* sect, const DVector3& vect, H
|
||||||
sectortype* newsect = nullptr;
|
sectortype* newsect = nullptr;
|
||||||
if (WarpPlane(hit.hitpos, &newsect))
|
if (WarpPlane(hit.hitpos, &newsect))
|
||||||
{
|
{
|
||||||
auto start = hit.hitpos;
|
auto nstart = hit.hitpos;
|
||||||
hitscan(start, newsect, vect, hit, clipmask);
|
hitscan(nstart, newsect, vect, hit, clipmask);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -243,8 +243,8 @@ void FAFhitscan(const DVector3& start, sectortype* sect, const DVector3& vect, H
|
||||||
|
|
||||||
if (plax_found)
|
if (plax_found)
|
||||||
{
|
{
|
||||||
auto start = hit.hitpos;
|
auto nstart = hit.hitpos;
|
||||||
hitscan(start, newsector, vect, hit, clipmask);
|
hitscan(nstart, newsector, vect, hit, clipmask);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue