Changeset 6524 for code/trunk/src/modules
- Timestamp:
- Mar 15, 2010, 3:27:09 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 4 edited
- 24 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/CMakeLists.txt
r5929 r6524 29 29 ADD_SUBDIRECTORY(objects) 30 30 ADD_SUBDIRECTORY(overlays) 31 ADD_SUBDIRECTORY(pickup) 31 32 ADD_SUBDIRECTORY(pong) 32 33 ADD_SUBDIRECTORY(questsystem) -
code/trunk/src/modules/weapons/projectiles/Projectile.cc
r6417 r6524 124 124 125 125 float dmg = this->damage_; 126 if (this->owner_) 127 dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false); 126 //TODO: Remove. 127 // if (this->owner_) 128 // dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false); 128 129 129 130 Pawn* victim = orxonox_cast<Pawn*>(otherObject); -
code/trunk/src/modules/weapons/projectiles/Rocket.cc
r6502 r6524 201 201 202 202 float dmg = this->damage_; 203 if (this->owner_) 204 dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false); 203 //TODO: This souldn't be necessary here. 204 //if (this->owner_) 205 // dmg = this->owner_->getPickups().processModifiers(ModifierType::Damage, dmg, false); 205 206 206 207 Pawn* victim = orxonox_cast<Pawn*>(otherObject);
Note: See TracChangeset
for help on using the changeset viewer.