mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- SW: fixed uninitialized variable in FAFhitscan
This commit is contained in:
parent
4700299fc6
commit
34bee8116c
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ FAFhitscan(int32_t x, int32_t y, int32_t z, sectortype* sect,
|
|||
}
|
||||
else
|
||||
{
|
||||
sectortype* newsect;
|
||||
sectortype* newsect = nullptr;
|
||||
if (WarpPlane(&hit.hitpos.x, &hit.hitpos.y, &hit.hitpos.z, &newsect))
|
||||
{
|
||||
auto pos = hit.hitpos;
|
||||
|
|
Loading…
Reference in a new issue