Changeset 5935 for code/branches/pickup/src/modules/weapons/munitions
- Timestamp:
- Oct 13, 2009, 5:05:17 PM (16 years ago)
- Location:
- code/branches/pickup
- Files:
- 
          - 3 edited
 
 - 
          . (modified) (1 prop)
- 
          src/modules/weapons/munitions/ReplenishingMunition.cc (modified) (2 diffs)
- 
          src/modules/weapons/munitions/ReplenishingMunition.h (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
        code/branches/pickup- Property svn:mergeinfo changed
 
- 
        code/branches/pickup/src/modules/weapons/munitions/ReplenishingMunition.ccr5781 r5935 44 44 // replenishIntervall_ and replenishMunitionAmount_ will be set in the constructor of the 45 45 // inheriting class, which comes after this constructor) 46 this->replenishingTimer_.setTimer(0.0f, false, this, createExecutor(createFunctor(&ReplenishingMunition::initializeTimer)));46 this->replenishingTimer_.setTimer(0.0f, false, createExecutor(createFunctor(&ReplenishingMunition::initializeTimer, this))); 47 47 } 48 48 … … 50 50 { 51 51 // Initialize the timer 52 this->replenishingTimer_.setTimer(this->replenishIntervall_, true, this, createExecutor(createFunctor(&ReplenishingMunition::replenish)));52 this->replenishingTimer_.setTimer(this->replenishIntervall_, true, createExecutor(createFunctor(&ReplenishingMunition::replenish, this))); 53 53 } 54 54 
- 
        code/branches/pickup/src/modules/weapons/munitions/ReplenishingMunition.hr5781 r5935 51 51 void initializeTimer(); 52 52 53 Timer <ReplenishingMunition>replenishingTimer_;53 Timer replenishingTimer_; 54 54 }; 55 55 } 
Note: See TracChangeset
          for help on using the changeset viewer.
      


 
            







