particle cleanup fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2573 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-09-13 23:22:41 +00:00
parent dad839d9f1
commit e2ff8bb453
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -464,7 +464,7 @@ void render_particles(int time, int typemask)
}
}
if(!time) pp = &p->next;
if(time < 0) pp = &p->next;
else if(!p->fade || lastmillis-p->millis>p->fade)
{
*pp = p->next;