1
0
Fork 0
forked from fte/fteqw

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:
TimeServ 2006-08-20 00:58:19 +00:00
parent 72b679e209
commit 5d58e5ce6e

View file

@ -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;