Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 11, 2013, 3:55:34 PM (11 years ago)
Author:
agermann
Message:

Hack - Spacestation Docking mit abdocken funktioniert.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spacestationentry/src/orxonox/infos/PlayerInfo.cc

    r9667 r9776  
    229229            return;
    230230
    231         this->controllableEntity_->getController()->setActive(false);
     231        Controller* tmp =this->controllableEntity_->getController();
     232        if (tmp == NULL)
     233        {
     234                orxout(verbose) <<  "PlayerInfo: pauseControl, Controller is NULL " << endl;
     235                return;
     236        }
     237        tmp->setActive(false);
    232238        //this->controllableEntity_->getController()->setControllableEntity(NULL);
    233239        this->controllableEntity_->setController(0);
Note: See TracChangeset for help on using the changeset viewer.