- Timestamp:
- Apr 15, 2009, 5:03:58 PM (16 years ago)
- Location:
- code/branches/pickups2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups2
- Property svn:mergeinfo changed
/code/branches/pickups merged: 2828,2831,2864,2900 -
Property
svn:ignore
set to
build
dependencies
- Property svn:mergeinfo changed
-
code/branches/pickups2/src/orxonox/objects/weaponSystem/projectiles/Projectile.cc
r2896 r2917 124 124 125 125 Pawn* victim = dynamic_cast<Pawn*>(otherObject); 126 127 float dmg = this->damage_; 128 if (this->owner_) 129 dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false); 130 126 131 if (victim) 127 victim->damage( this->damage_, this->owner_);132 victim->damage(dmg, this->owner_); 128 133 } 129 134 return false;
Note: See TracChangeset
for help on using the changeset viewer.