Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5832


Ignore:
Timestamp:
Sep 28, 2009, 11:31:39 PM (15 years ago)
Author:
landauf
Message:

fixed crash because of the unloading of HumanPlayer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/modules/gamestates/GSLevel.cc

    r5829 r5832  
    165165        if (GameMode::showsGraphics())
    166166        {
     167            // disconnect the HumanPlayer
     168            this->playerManager_->clientDisconnected(0);
     169           
    167170            // unload all compositors (this is only necessary because we don't yet destroy all resources!)
    168171            Ogre::CompositorManager::getSingleton().removeAll();
     
    177180        if (GameMode::showsGraphics())
    178181        {
    179             // disconnect the HumanPlayer
    180             this->playerManager_->clientDisconnected(0);
    181            
    182182            InputManager::getInstance().leaveState("game");
    183183        }
Note: See TracChangeset for help on using the changeset viewer.