Changeset 3073 for code/trunk/src/orxonox/objects/weaponsystem
- Timestamp:
- May 25, 2009, 8:30:15 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 1 build 2 2 codeblocks 3 dependencies
-
- Property svn:mergeinfo changed
/code/branches/pickups merged: 2828,2831,2864,2900 /code/branches/pickups2 merged: 2916-2917,2972,3001,3016,3040-3042,3046,3063
- Property svn:ignore
-
code/trunk/src/orxonox/objects/weaponsystem/projectiles/Projectile.cc
r3053 r3073 126 126 } 127 127 128 float dmg = this->damage_; 129 if (this->owner_) 130 dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false); 131 128 132 Pawn* victim = dynamic_cast<Pawn*>(otherObject); 129 133 if (victim) 130 victim->damage( this->damage_, this->owner_);134 victim->damage(dmg, this->owner_); 131 135 } 132 136 return false;
Note: See TracChangeset
for help on using the changeset viewer.