- 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/ShieldPickup.cc
r8858 r9279 177 177 { 178 178 PickupCarrier* carrier = this->getCarrier(); 179 Pawn* pawn = dynamic_cast<Pawn*>(carrier);179 Pawn* pawn = orxonox_cast<Pawn*>(carrier); 180 180 181 181 if(pawn == NULL) … … 199 199 SUPER(ShieldPickup, clone, item); 200 200 201 ShieldPickup* pickup = dynamic_cast<ShieldPickup*>(item);201 ShieldPickup* pickup = orxonox_cast<ShieldPickup*>(item); 202 202 pickup->setDuration(this->getDuration()); 203 203 pickup->setShieldAbsorption(this->getShieldAbsorption());
Note: See TracChangeset
for help on using the changeset viewer.