Changeset 9272 for code/branches/presentation2012merge/src/modules/pickup/items/DamageBoostPickup.cc
- Timestamp:
- Jun 3, 2012, 6:05:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/items/DamageBoostPickup.cc
r9271 r9272 70 70 void DamageBoostPickup::initialize(void) 71 71 { 72 73 72 this->duration_ = 0.0f; 73 this->damageMultiplier_ = 1.0f; //The default damage multiplier. 74 74 //Defines who is allowed to pick up the pickup. 75 75 this->addTarget(ClassIdentifier<SpaceShip>::getIdentifier()); … … 130 130 SpaceShip* ship = this->carrierToSpaceShipHelper(); 131 131 if(ship == NULL) // If the PickupCarrier is no SpaceShip, then this pickup is useless and therefore is destroyed. 132 132 this->Pickupable::destroy(); 133 133 134 134
Note: See TracChangeset
for help on using the changeset viewer.