crashhandler: fix developer mode check

This commit is contained in:
a1batross 2018-10-24 20:18:06 +03:00
parent 85960b2c90
commit c603abfebf

View File

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