Changeset 6431 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.cc
- Timestamp:
- Jan 8, 2006, 12:52:23 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.cc
r6306 r6431 144 144 // grabbing Parameters from the Projectile to have them at hand here. 145 145 Projectile* pj = dynamic_cast<Projectile*>(this->projectileFactory->resurrect()); 146 this->minCharge = pj->get EnergyMin();147 this->maxCharge = pj->get EnergyMax();146 this->minCharge = pj->getMinEnergy(); 147 this->maxCharge = pj->getMaxEnergy(); 148 148 this->chargeable = pj->isChageable(); 149 149 this->projectileFactory->kill(pj);
Note: See TracChangeset
for help on using the changeset viewer.