Changeset 6524 for code/trunk/src/modules/weapons/projectiles
- Timestamp:
- Mar 15, 2010, 3:27:09 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/weapons/projectiles/Projectile.cc
r6417 r6524 124 124 125 125 float dmg = this->damage_; 126 if (this->owner_) 127 dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false); 126 //TODO: Remove. 127 // if (this->owner_) 128 // dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false); 128 129 129 130 Pawn* victim = orxonox_cast<Pawn*>(otherObject); -
code/trunk/src/modules/weapons/projectiles/Rocket.cc
r6502 r6524 201 201 202 202 float dmg = this->damage_; 203 if (this->owner_) 204 dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false); 203 //TODO: This souldn't be necessary here. 204 //if (this->owner_) 205 // dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false); 205 206 206 207 Pawn* victim = orxonox_cast<Pawn*>(otherObject);
Note: See TracChangeset
for help on using the changeset viewer.