- Timestamp:
- Jun 4, 2012, 10:50:28 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/items/ShrinkPickup.cc
r8713 r9279 148 148 { 149 149 SUPER(ShrinkPickup, changedPickedUp); 150 150 151 151 if(!this->isPickedUp() && this->isActive_) 152 152 { … … 271 271 272 272 bool destroy = false; 273 273 274 274 // Stop shrinking if the desired size is reached. 275 275 if(this->timeRemainig_ <= 0.0f) … … 314 314 { 315 315 PickupCarrier* carrier = this->getCarrier(); 316 Pawn* pawn = dynamic_cast<Pawn*>(carrier);316 Pawn* pawn = orxonox_cast<Pawn*>(carrier); 317 317 318 318 return pawn; … … 331 331 332 332 SUPER(ShrinkPickup, clone, item); 333 ShrinkPickup* pickup = dynamic_cast<ShrinkPickup*>(item);333 ShrinkPickup* pickup = orxonox_cast<ShrinkPickup*>(item); 334 334 pickup->setShrinkFactor(this->getShrinkFactor()); 335 335 pickup->setDuration(this->getDuration());
Note: See TracChangeset
for help on using the changeset viewer.