nightmode fix

This commit is contained in:
BenCat07 2018-04-08 19:40:25 +02:00
parent 08a00e2c11
commit 78abed8e53

View File

@ -593,8 +593,8 @@ void FrameStageNotify_hook(void *_this, int stage)
{
if (nightmode)
{
static bool OldNightmode;
if (OldNightmode != (int) nightmode)
static int OldNightmode = 0;
if (OldNightmode != (int)nightmode)
{
static ConVar *r_DrawSpecificStaticProp =