Browse Source

crashhandler: fix developer mode check

pull/2/head
a1batross 6 years ago
parent
commit
c603abfebf
  1. 2
      engine/common/crashhandler.c

2
engine/common/crashhandler.c

@ -202,7 +202,7 @@ long _stdcall Sys_Crash( PEXCEPTION_POINTERS pInfo ) @@ -202,7 +202,7 @@ long _stdcall Sys_Crash( PEXCEPTION_POINTERS pInfo )
CL_Crashed(); // tell client about crash
else host.status = HOST_CRASHED;
if( host.developer <= 0 )
if( host_developer.value <= 0 )
{
// no reason to call debugger in release build - just exit
Sys_Quit();

Loading…
Cancel
Save