Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7289 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Apr 13, 2006, 11:27:09 PM (19 years ago)
Author:
bensch
Message:

some more stuff, but still not working as it should

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world.cc

    r7288 r7289  
    103103  PRINTF(4)("Deleted GameWorld\n");
    104104
    105   if (this->audioThread != NULL)
    106     SDL_KillThread(this->audioThread);
    107105}
    108106
     
    206204  PRINTF(3)("GameWorld::~GameWorld() - unloading the current GameWorld\n");
    207205
     206  if (this->audioThread != NULL)
     207  {
     208    this->bRunning = false;
     209    SDL_WaitThread(this->audioThread, NULL);
     210    this->audioThread = NULL;
     211  }
     212
    208213  this->dataTank->unloadData();
    209214
     
    237242  this->bRunning = false;
    238243
    239   //  SDL_KillThread(this->audioThread);
    240244  this->audioThread = NULL;
    241245}
Note: See TracChangeset for help on using the changeset viewer.