- Timestamp:
- Oct 13, 2009, 5:05:17 PM (15 years ago)
- Location:
- code/branches/pickup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup
- Property svn:mergeinfo changed
-
code/branches/pickup/src/orxonox/pickup/ModifierPickup.cc
r5902 r5935 116 116 if (this->duration_ > 0.0f) 117 117 { 118 Executor Member<ModifierPickup>* executor = createExecutor(createFunctor(&ModifierPickup::timerCallback));118 Executor* executor = createExecutor(createFunctor(&ModifierPickup::timerCallback, this)); 119 119 executor->setDefaultValues(pawn); 120 this->timer_.setTimer(this->duration_, false, this,executor);120 this->timer_.setTimer(this->duration_, false, executor); 121 121 } 122 122 … … 157 157 this->timer_.stopTimer(); 158 158 159 delete this;159 this->destroy(); 160 160 161 161 return true;
Note: See TracChangeset
for help on using the changeset viewer.