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/HumanPlayer.cc

    r5738 r5801  
    6464        {
    6565            if (this->humanHud_)
    66                 delete this->humanHud_;
     66                this->humanHud_->destroy();
    6767
    6868            if (this->gametypeHud_)
    69                 delete this->gametypeHud_;
     69                this->gametypeHud_->destroy();
    7070        }
    7171    }
     
    170170        if (this->humanHud_)
    171171        {
    172             delete this->humanHud_;
     172            this->humanHud_->destroy();
    173173            this->humanHud_ = 0;
    174174        }
     
    186186        if (this->gametypeHud_)
    187187        {
    188             delete this->gametypeHud_;
     188            this->gametypeHud_->destroy();
    189189            this->gametypeHud_ = 0;
    190190        }
Note: See TracChangeset for help on using the changeset viewer.