mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
Fixed compilation with GCC/Clang
src/p_glnodes.cpp:670:3: error: cannot jump from this goto statement to its label src/p_glnodes.cpp:682:4: error: cannot jump from this goto statement to its label
This commit is contained in:
parent
309d086a15
commit
c1b774e809
1 changed files with 3 additions and 1 deletions
|
@ -662,6 +662,8 @@ static bool LoadNodes (FileReader * lump)
|
|||
|
||||
static bool DoLoadGLNodes(FileReader ** lumps)
|
||||
{
|
||||
int missing = 0;
|
||||
|
||||
if (!LoadGLVertexes(lumps[0]) ||
|
||||
!LoadGLSegs(lumps[1]) ||
|
||||
!LoadGLSubsectors(lumps[2]) ||
|
||||
|
@ -684,7 +686,7 @@ static bool DoLoadGLNodes(FileReader ** lumps)
|
|||
}
|
||||
|
||||
// check whether the BSP covers all sidedefs completely.
|
||||
int missing = CheckForMissingSegs();
|
||||
missing = CheckForMissingSegs();
|
||||
if (missing > 0)
|
||||
{
|
||||
Printf("%d missing segs counted in GL nodes.\nThe BSP has to be rebuilt.\n", missing);
|
||||
|
|
Loading…
Reference in a new issue