From 4cf90d70aef0a8f5b54e6af5bedad4d1d2501edc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 2 Mar 2019 12:58:28 +0100 Subject: [PATCH] - fixed: cl_maxdecals did not reset the decal counter when deleting decals. --- src/g_cvars.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/g_cvars.cpp b/src/g_cvars.cpp index a9e2ec311..7aac035d0 100644 --- a/src/g_cvars.cpp +++ b/src/g_cvars.cpp @@ -94,6 +94,7 @@ CUSTOM_CVAR (Int, cl_maxdecals, 1024, CVAR_ARCHIVE|CVAR_NOINITCALL) if (thinker != NULL) { thinker->Destroy(); + Level->ImpactDecalCount--; } } }