diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index 63cb521..ffff7b2 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -1253,7 +1253,7 @@ void Sys_Crash( const char* message, const char* file, int line, const char* fun #define ASSERT_OR_DIE(Condition, Message) \ do { \ if (!(Condition)) { \ - if (IsDebuggerPresent()) \ + if (Sys_IsDebuggerAttached()) \ __debugbreak(); \ else \ Sys_Crash(Message, __FILE__, __LINE__, __FUNCTION__); \