2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 18:07:09 +01:00

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
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();