Changeset 3223 for code/branches/core4/src/orxonox/objects/weaponsystem
- Timestamp:
- Jun 23, 2009, 7:28:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/orxonox/objects/weaponsystem/projectiles/Projectile.cc
r3196 r3223 126 126 dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false); 127 127 128 Pawn* victim = dynamic_cast<Pawn*>(otherObject);128 Pawn* victim = orxonox_cast<Pawn>(otherObject); 129 129 if (victim) 130 130 victim->damage(dmg, this->owner_);
Note: See TracChangeset
for help on using the changeset viewer.