From 09b77664db3353001e4e50835cd887fafdcc4f5f Mon Sep 17 00:00:00 2001 From: Marcus Minhorst Date: Wed, 6 Aug 2025 17:47:00 -0400 Subject: [PATCH] Fix pointer being used as bool --- src/d_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index 4dcc05bc6..3ca8d5b8b 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -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;