Changeset 7548 for code/trunk/src/modules/pickup/items
- Timestamp:
- Oct 16, 2010, 1:22:15 PM (14 years ago)
- Location:
- code/trunk/src/modules/pickup/items
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/items/DronePickup.cc
r7547 r7548 130 130 { 131 131 SUPER(DronePickup, changedUsed); 132 133 // If the pickup is not picked up nothing must be done.134 if(!this->isPickedUp())135 return;136 132 137 133 // If the pickup has transited to used. -
code/trunk/src/modules/pickup/items/HealthPickup.cc
r7547 r7548 187 187 { 188 188 SUPER(HealthPickup, changedUsed); 189 190 // If the pickup is not picked up nothing must be done.191 if(!this->isPickedUp()) //TODO: Needed?192 return;193 189 194 190 // If the pickup has transited to used. -
code/trunk/src/modules/pickup/items/InvisiblePickup.cc
r7547 r7548 109 109 { 110 110 SUPER(InvisiblePickup, changedUsed); 111 112 // If the pickup is not picked up nothing must be done.113 if(!this->isPickedUp())114 return;115 111 116 112 // If the pickup has transited to used. -
code/trunk/src/modules/pickup/items/MetaPickup.cc
r7547 r7548 126 126 if(this->getMetaTypeDirect() == pickupMetaType::destroyCarrier) 127 127 { 128 this->Pickupable::destroy(); //TODO: Needed?129 128 Pawn* pawn = orxonox_cast<Pawn*>(carrier); 130 129 pawn->kill(); -
code/trunk/src/modules/pickup/items/ShieldPickup.cc
r7547 r7548 126 126 { 127 127 SUPER(ShieldPickup, changedUsed); 128 129 // If the pickup is not picked up nothing must be done.130 if(!this->isPickedUp())131 return;132 128 133 129 Pawn* pawn = this->carrierToPawnHelper(); -
code/trunk/src/modules/pickup/items/SpeedPickup.cc
r7547 r7548 126 126 { 127 127 SUPER(SpeedPickup, changedUsed); 128 129 // If the pickup is not picked up nothing must be done.130 if(!this->isPickedUp())131 return;132 128 133 129 Engine* engine = this->carrierToEngineHelper();
Note: See TracChangeset
for help on using the changeset viewer.