Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 29, 2015, 6:18:30 PM (9 years ago)
Author:
landauf
Message:

cleanup: no need to pass/return WeakPtrs to/from functions. normal pointers are enough.

File:
1 edited

Legend:

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

    r10362 r10557  
    186186
    187187        this->controllableEntity_->destroyHud(); // HACK-ish
    188         this->previousControllableEntity_.push_back(WeakPtr<ControllableEntity>(this->controllableEntity_));
     188        this->previousControllableEntity_.push_back(this->controllableEntity_);
    189189        this->controllableEntity_ = entity;
    190190        this->controllableEntityID_ = entity->getObjectID();
Note: See TracChangeset for help on using the changeset viewer.