Commit 0d23b8de7a843165f65e7aaf5c9db03e42b2a595

Authored by dg
1 parent 25920689

fix


git-svn-id: http://svn.net-core.org/repos/t-engine4@2634 51575b47-30f0-44d4-a5cc-537603b46e54
Showing 1 changed file with 2 additions and 3 deletions
... ... @@ -864,14 +864,13 @@ void create_particles_thread()
864 864 for (i = 0; i < MAX_THREADS; i++)
865 865 {
866 866 SDL_Thread *thread;
  867 + particle_thread *pt = &threads[i];
  868 +
867 869 thread = SDL_CreateThread(thread_particles, pt);
868 870 if (thread == NULL) {
869 871 printf("Unable to create particle thread: %s\n", SDL_GetError());
870 872 continue;
871 873 }
872   -
873   - particle_thread *pt = &threads[i];
874   -
875 874 pt->thread = thread;
876 875 pt->id = nb_threads++;
877 876 pt->list = NULL;
... ...