Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6431 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.cc


Ignore:
Timestamp:
Jan 8, 2006, 12:52:23 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: projectile inherits Energies from WorldEntity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon.cc

    r6306 r6431  
    144144    // grabbing Parameters from the Projectile to have them at hand here.
    145145    Projectile* pj = dynamic_cast<Projectile*>(this->projectileFactory->resurrect());
    146     this->minCharge = pj->getEnergyMin();
    147     this->maxCharge = pj->getEnergyMax();
     146    this->minCharge = pj->getMinEnergy();
     147    this->maxCharge = pj->getMaxEnergy();
    148148    this->chargeable = pj->isChageable();
    149149    this->projectileFactory->kill(pj);
Note: See TracChangeset for help on using the changeset viewer.