diff options
Diffstat (limited to 'apps/plugins/sdl/progs/quake/r_part.c')
-rw-r--r-- | apps/plugins/sdl/progs/quake/r_part.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/sdl/progs/quake/r_part.c b/apps/plugins/sdl/progs/quake/r_part.c index 8c0dcff5e8..4895a828c0 100644 --- a/apps/plugins/sdl/progs/quake/r_part.c +++ b/apps/plugins/sdl/progs/quake/r_part.c | |||
@@ -696,8 +696,14 @@ void R_DrawParticles (void) | |||
696 | break; | 696 | break; |
697 | } | 697 | } |
698 | 698 | ||
699 | rb->yield(); | ||
700 | |||
701 | int cnt = 0; | ||
702 | |||
699 | for (p=active_particles ; p ; p=p->next) | 703 | for (p=active_particles ; p ; p=p->next) |
700 | { | 704 | { |
705 | if(!(++cnt%50)) | ||
706 | rb->yield(); | ||
701 | for ( ;; ) | 707 | for ( ;; ) |
702 | { | 708 | { |
703 | kill = p->next; | 709 | kill = p->next; |