Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 23, 2011, 4:12:27 PM (13 years ago)
Author:
sven
Message:

Spaceships attach now to the dock, fixed DockingController.

File:
1 edited

Legend:

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

    r8382 r8544  
    213213    }
    214214
     215    void PlayerInfo::pauseControl()
     216    {
     217        ControllableEntity* entity = this->controllableEntity_;
     218
     219        if (!entity)
     220            return;
     221
     222        this->controllableEntity_->getController()->setActive(false);
     223        //this->controllableEntity_->getController()->setControllableEntity(NULL);
     224        this->controllableEntity_->setController(0);
     225    }
     226
    215227    void PlayerInfo::stopTemporaryControl()
    216228    {
Note: See TracChangeset for help on using the changeset viewer.