mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- fixed some merging issues.
This commit is contained in:
parent
7966282c1c
commit
8872125f96
2 changed files with 6 additions and 8 deletions
|
@ -548,9 +548,7 @@ CUSTOM_CVAR (Int, cl_maxdecals, 1024, CVAR_ARCHIVE)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ForAllLevels([&](FLevelLocals *Level)
|
while (level.ImpactDecalCount > self)
|
||||||
{
|
|
||||||
while (Level->ImpactDecalCount > self)
|
|
||||||
{
|
{
|
||||||
DThinker *thinker = DThinker::FirstThinker(STAT_AUTODECAL);
|
DThinker *thinker = DThinker::FirstThinker(STAT_AUTODECAL);
|
||||||
if (thinker != NULL)
|
if (thinker != NULL)
|
||||||
|
@ -558,7 +556,6 @@ CUSTOM_CVAR (Int, cl_maxdecals, 1024, CVAR_ARCHIVE)
|
||||||
thinker->Destroy();
|
thinker->Destroy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -615,6 +615,7 @@ void DInterBackground::drawBackground(int state, bool drawsplat, bool snl_pointe
|
||||||
for (i = 0; i<anims.Size(); i++)
|
for (i = 0; i<anims.Size(); i++)
|
||||||
{
|
{
|
||||||
in_anim_t * a = &anims[i];
|
in_anim_t * a = &anims[i];
|
||||||
|
level_info_t *li;
|
||||||
|
|
||||||
switch (a->type & ANIM_CONDITION)
|
switch (a->type & ANIM_CONDITION)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue