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) if (nightmode)
{ {
static bool OldNightmode; static int OldNightmode = 0;
if (OldNightmode != (int) nightmode) if (OldNightmode != (int)nightmode)
{ {
static ConVar *r_DrawSpecificStaticProp = static ConVar *r_DrawSpecificStaticProp =