Skip to content

Commit

Permalink
debug ifdef statement
Browse files Browse the repository at this point in the history
  • Loading branch information
sabianroberts committed Dec 28, 2024
1 parent 7f661e0 commit ad05c8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cl_dll/hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,7 @@ void CHud::ApplyPissFilter()

static bool PissPrint = false;

#ifdef _DEBUG
if (r_pissfilter->value != 0)
{
gEngfuncs.pfnFillRGBA(0, 0, ScreenWidth, ScreenHeight, r, g, b, 60);
Expand All @@ -1080,4 +1081,5 @@ void CHud::ApplyPissFilter()
{
PissPrint = false;
}
#endif
}

0 comments on commit ad05c8c

Please sign in to comment.