Skip to content

Commit

Permalink
Enable assert mode
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Dec 13, 2023
1 parent abe648b commit 8c0b684
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions regamedll/regamedll/precompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8c0b684

Please sign in to comment.