Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 26, 2009, 11:01:39 PM (15 years ago)
Author:
scheusso
Message:

Changed input of NewHumanController from InputListener to normal console command (yaw and pitch virtually inherited from HumanPlayer)
removed some unneccessary stuff

File:
1 edited

Legend:

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

    r5981 r5993  
    158158        this->bReadyToSpawn_ &= (!this->bSetUnreadyAfterSpawn_);
    159159
    160         if (this->controller_) {
     160        if (this->controller_)
    161161            this->controller_->setControllableEntity(entity);
    162             this->controller_->startControl();
    163         }
    164162
    165163        this->changedControllableEntity();
     
    176174        this->controllableEntityID_ = OBJECTID_UNKNOWN;
    177175
    178         if (this->controller_) {
     176        if (this->controller_)
    179177            this->controller_->setControllableEntity(0);
    180             this->controller_->stopControl();
    181         }
    182178
    183179        entity->removePlayer();
Note: See TracChangeset for help on using the changeset viewer.