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

    r5738 r5801  
    5757        {
    5858            if (!it->isAlive())
    59                 delete (*(it++));
     59                (it++)->destroy();
    6060            else
    6161                ++it;
     
    6363
    6464        if (count == 0)
    65             delete this;
     65            this->destroy();
    6666    }
    6767}
Note: See TracChangeset for help on using the changeset viewer.