- Timestamp:
- Dec 9, 2009, 4:54:20 PM (15 years ago)
- Location:
- code/branches/presentation2/src/modules/weapons/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/modules/weapons/projectiles/Projectile.cc
r6277 r6295 129 129 Pawn* victim = orxonox_cast<Pawn*>(otherObject); 130 130 if (victim) 131 victim-> damage(dmg, this->owner_);131 victim->hit(this->owner_, contactPoint, dmg); 132 132 } 133 133 return false; -
code/branches/presentation2/src/modules/weapons/projectiles/Rocket.cc
r6285 r6295 203 203 Pawn* victim = orxonox_cast<Pawn*>(otherObject); 204 204 if (victim) 205 victim-> damage(dmg, this->owner_);205 victim->hit(this->owner_, contactPoint, dmg); 206 206 // this->destroy(); 207 207 }
Note: See TracChangeset
for help on using the changeset viewer.