Changeset 9305 for code/branches/presentation2012merge/src/modules/pickup/items/DamageBoostPickup.cc
- Timestamp:
- Jun 18, 2012, 9:54:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/items/DamageBoostPickup.cc
r9279 r9305 82 82 void DamageBoostPickup::initializeIdentifier(void) 83 83 { 84 std::stringstream stream; 85 stream << this->getDuration(); 86 std::string type1 = "duration"; 87 std::string val1 = stream.str(); 88 this->pickupIdentifier_->addParameter(type1, val1); 89 90 stream.clear(); 91 stream << this->getDamageMultiplier(); 92 std::string type2 = "damageMultiplier"; 93 std::string val2 = stream.str(); 94 this->pickupIdentifier_->addParameter(type2, val2); 95 84 this->pickupIdentifier_->addParameter("duration", this->getDuration()); 85 this->pickupIdentifier_->addParameter("damageMultiplier", this->getDamageMultiplier()); 96 86 } 97 87
Note: See TracChangeset
for help on using the changeset viewer.