Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 26, 2009, 10:25:03 PM (15 years ago)
Author:
landauf
Message:

replaced delete with destroy() in orxonox

File:
1 edited

Legend:

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

    r5738 r5801  
    6666            if (this->controller_)
    6767            {
    68                 delete this->controller_;
     68                this->controller_->destroy();
    6969                this->controller_ = 0;
    7070            }
     
    131131        if (this->controller_)
    132132        {
    133             delete this->controller_;
     133            this->controller_->destroy();
    134134            this->controller_ = 0;
    135135        }
Note: See TracChangeset for help on using the changeset viewer.