Changeset 8502 for code/branches
- Timestamp:
- May 18, 2011, 12:36:59 PM (14 years ago)
- Location:
- code/branches/pickup
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup/data/levels/pickups.oxw
r8255 r8502 184 184 </PickupRepresentation> 185 185 186 < !--PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">186 <PickupSpawner position="-50,0,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> 187 187 <pickup> 188 188 <HealthPickup health=500 activationType=immediate healthRate=10 durationType=continuous /> 189 189 </pickup> 190 </PickupSpawner -->190 </PickupSpawner> 191 191 192 192 <PickupSpawner position="-30,-30,-30" respawnTime="60" triggerDistance="20" maxSpawnedItems="5"> -
code/branches/pickup/src/modules/pickup/items/ShrinkPickup.cc
r8489 r8502 21 21 * 22 22 * Author: 23 * Damian 'Mozork' Frick23 * Sandro Sgier 24 24 * Co-authors: 25 25 * ... … … 97 97 durationTimer.setTimer(duration_, false, createExecutor(createFunctor(&ShrinkPickup::terminate, this))); 98 98 } 99 else100 {101 this->Pickupable::destroy();102 }103 99 } 104 100 … … 144 140 } 145 141 else if(isTerminating_ == true) 146 setUsed(false); 142 this->Pickupable::destroy(); 143 147 144 } 148 145 … … 151 148 isActive_ = false; 152 149 isTerminating_ = true; 150 setUsed(false); 153 151 } 154 152 -
code/branches/pickup/src/modules/pickup/items/ShrinkPickup.h
r8489 r8502 21 21 * 22 22 * Author: 23 * Damian 'Mozork' Frick23 * Sandro Sgier 24 24 * Co-authors: 25 25 * ...
Note: See TracChangeset
for help on using the changeset viewer.