mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 13:10:39 +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);
|
||||
|
||||
// NOTE: This could be recursive I think if need be
|
||||
auto start = hit.hitpos;
|
||||
hitscan(start, hit.hitSector, vect, hit, startclipmask);
|
||||
auto nstart = hit.hitpos;
|
||||
hitscan(nstart, hit.hitSector, vect, hit, startclipmask);
|
||||
|
||||
// reset hitscan block for dest sect
|
||||
SetWallWarpHitscan(hit.hitSector);
|
||||
|
@ -204,8 +204,8 @@ void FAFhitscan(const DVector3& start, sectortype* sect, const DVector3& vect, H
|
|||
sectortype* newsect = nullptr;
|
||||
if (Warp(hit.hitpos, &newsect))
|
||||
{
|
||||
auto start = hit.hitpos;
|
||||
hitscan(start, newsect, vect, hit, clipmask);
|
||||
auto nstart = hit.hitpos;
|
||||
hitscan(nstart, newsect, vect, hit, clipmask);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -214,8 +214,8 @@ void FAFhitscan(const DVector3& start, sectortype* sect, const DVector3& vect, H
|
|||
sectortype* newsect = nullptr;
|
||||
if (WarpPlane(hit.hitpos, &newsect))
|
||||
{
|
||||
auto start = hit.hitpos;
|
||||
hitscan(start, newsect, vect, hit, clipmask);
|
||||
auto nstart = hit.hitpos;
|
||||
hitscan(nstart, newsect, vect, hit, clipmask);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -243,8 +243,8 @@ void FAFhitscan(const DVector3& start, sectortype* sect, const DVector3& vect, H
|
|||
|
||||
if (plax_found)
|
||||
{
|
||||
auto start = hit.hitpos;
|
||||
hitscan(start, newsector, vect, hit, clipmask);
|
||||
auto nstart = hit.hitpos;
|
||||
hitscan(nstart, newsector, vect, hit, clipmask);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue