mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-26 14:45:38 +03:00
Enable assert mode
This commit is contained in:
parent
abe648b9d6
commit
8c0b684046
@ -45,6 +45,15 @@
|
||||
|
||||
// Valve libs stuff
|
||||
#include "tier0/platform.h"
|
||||
|
||||
// Asserts are always compiled in pre-released or nightly builds
|
||||
#if !defined(_RELEASEPROD)
|
||||
#define DBGFLAG_ASSERT // Turns Assert on or off
|
||||
#define DBGFLAG_ASSERTFATAL // Turns AssertFatal on or off
|
||||
#define DBGFLAG_ASSERTDLG // Turns assert dialogs on or off and debug breaks on or off when not under the debugger
|
||||
// (Dialogs will always be on when process is being debugged.)
|
||||
#endif
|
||||
|
||||
#include "tier0/dbg.h"
|
||||
|
||||
#include "dlls.h"
|
||||
|
Loading…
Reference in New Issue
Block a user