- fixed: cl_maxdecals did not reset the decal counter when deleting decals.

This commit is contained in:
Christoph Oelckers 2019-03-02 12:58:28 +01:00
parent 5f6198f4e4
commit 4cf90d70ae

View file

@ -94,6 +94,7 @@ CUSTOM_CVAR (Int, cl_maxdecals, 1024, CVAR_ARCHIVE|CVAR_NOINITCALL)
if (thinker != NULL)
{
thinker->Destroy();
Level->ImpactDecalCount--;
}
}
}