- moved FirstThinker function to FLevelLocals
Currently it is meaningless but that's where it should be later.
This commit is contained in:
parent
41e576bbb5
commit
d0942bcb97
4 changed files with 6 additions and 6 deletions
|
|
@ -542,7 +542,7 @@ CUSTOM_CVAR (Int, cl_maxdecals, 1024, CVAR_ARCHIVE)
|
|||
{
|
||||
while (Level->ImpactDecalCount > self)
|
||||
{
|
||||
DThinker *thinker = DThinker::FirstThinker(STAT_AUTODECAL);
|
||||
DThinker *thinker = Level->FirstThinker(STAT_AUTODECAL);
|
||||
if (thinker != NULL)
|
||||
{
|
||||
thinker->Destroy();
|
||||
|
|
@ -555,7 +555,7 @@ void DImpactDecal::CheckMax ()
|
|||
{
|
||||
if (++Level->ImpactDecalCount >= cl_maxdecals)
|
||||
{
|
||||
DThinker *thinker = DThinker::FirstThinker (STAT_AUTODECAL);
|
||||
DThinker *thinker = Level->FirstThinker (STAT_AUTODECAL);
|
||||
if (thinker != NULL)
|
||||
{
|
||||
thinker->Destroy();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue