mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 07:57:52 +00:00
- fixed: cl_maxdecals did not reset the decal counter when deleting decals.
This commit is contained in:
parent
5f6198f4e4
commit
4cf90d70ae
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ CUSTOM_CVAR (Int, cl_maxdecals, 1024, CVAR_ARCHIVE|CVAR_NOINITCALL)
|
||||||
if (thinker != NULL)
|
if (thinker != NULL)
|
||||||
{
|
{
|
||||||
thinker->Destroy();
|
thinker->Destroy();
|
||||||
|
Level->ImpactDecalCount--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue