Skip to content

Commit

Permalink
Fix crash test
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Oct 13, 2023
1 parent c936be8 commit 0d8853e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/clparse.cpp
Expand Up @@ -739,6 +739,7 @@ bool ParseCommandLine(int argc, const char * const *argv)
case CLI_CRASH:
CauseCrash = true;
NetPlay.bComms = false;
SPinit(LEVEL_TYPE::CAMPAIGN);
sstrcpy(aLevelName, "CAM_3A");
SetGameMode(GS_NORMAL);
break;
Expand Down
2 changes: 1 addition & 1 deletion src/display3d.cpp
Expand Up @@ -1175,7 +1175,7 @@ void draw3DScene()
# pragma GCC diagnostic pop
#endif
}
exit(-1); // will never reach this, but just in case...
exit(-1); // should never reach this, but just in case...
}
//visualize radius if needed
if (bRangeDisplay)
Expand Down

0 comments on commit 0d8853e

Please sign in to comment.