fix to particle run list
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2375 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
72b679e209
commit
5d58e5ce6e
1 changed files with 1 additions and 1 deletions
|
@ -4447,7 +4447,7 @@ void DrawParticleTypes (void (*texturedparticles)(particle_t *,part_type_t*), vo
|
||||||
// delete from run list if necessary
|
// delete from run list if necessary
|
||||||
if (!type->particles && !type->beams)
|
if (!type->particles && !type->beams)
|
||||||
{
|
{
|
||||||
if (!prevtype)
|
if (part_run_list == type)
|
||||||
part_run_list = type->nexttorun;
|
part_run_list = type->nexttorun;
|
||||||
else
|
else
|
||||||
prevtype->nexttorun = type->nexttorun;
|
prevtype->nexttorun = type->nexttorun;
|
||||||
|
|
Loading…
Reference in a new issue