Fix pointer being used as bool
This commit is contained in:
parent
41baae22c0
commit
09b77664db
1 changed files with 1 additions and 1 deletions
|
|
@ -3793,7 +3793,7 @@ static int D_DoomMain_Internal (void)
|
|||
// Now that we have the IWADINFO, initialize the autoload ini sections.
|
||||
GameConfig->DoAutoloadSetup(iwad_man);
|
||||
|
||||
bool should_debug = vm_debug.get();
|
||||
bool should_debug = vm_debug;
|
||||
const char * debug_port_arg = Args->CheckValue("-debug");
|
||||
if (debug_port_arg) {
|
||||
should_debug = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue