Changeset 6540 for code/trunk/src/modules/weapons/projectiles/Projectile.cc
- Timestamp:
- Mar 16, 2010, 9:35:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/projectiles/Projectile.cc
r6524 r6540 123 123 } 124 124 125 float dmg = this->damage_;126 //TODO: Remove.127 // if (this->owner_)128 // dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false);129 130 125 Pawn* victim = orxonox_cast<Pawn*>(otherObject); 131 126 if (victim) 132 victim->hit(this->owner_, contactPoint, dmg);127 victim->hit(this->owner_, contactPoint, this->damage_); 133 128 } 134 129 return false;
Note: See TracChangeset
for help on using the changeset viewer.