diff --git a/regamedll/regamedll/precompiled.h b/regamedll/regamedll/precompiled.h index 62d6dd3d..e4c3b1bb 100644 --- a/regamedll/regamedll/precompiled.h +++ b/regamedll/regamedll/precompiled.h @@ -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"