Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7892


Ignore:
Timestamp:
Feb 14, 2011, 10:51:44 PM (13 years ago)
Author:
landauf
Message:

fixed bug in bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/worldentities/ControllableEntity.cc

    r7889 r7892  
    135135    {
    136136        // HACK - solve this clean and without preDestroy hook for multiplayer where removePlayer() isn't called
    137         if (this->bHasLocalController_ && this->bHasHumanController_)
     137        if (this->isInitialized() && this->bHasLocalController_ && this->bHasHumanController_)
    138138            this->stopLocalHumanControl();
    139139    }
Note: See TracChangeset for help on using the changeset viewer.