Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 28, 2009, 9:31:24 PM (15 years ago)
Author:
landauf
Message:

replaced most occurrences of setObject(o) in combination with createFunctor(f) with the more convenient createFunctor(f, o)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/gametypes/UnderAttack.cc

    r5826 r5829  
    4646        this->teams_ = 2;
    4747        this->destroyer_ = 0;
    48         this->destroyer_.addCallback(createFunctor(&UnderAttack::killedDestroyer)->setObject(this));
     48        this->destroyer_.addCallback(createFunctor(&UnderAttack::killedDestroyer, this));
    4949        this->gameEnded_ = false;
    5050
Note: See TracChangeset for help on using the changeset viewer.