Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2005, 3:48:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: extemely stupid aiming, but it works. Had to fix quite a few bugs in the process.

File:
1 edited

Legend:

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

    r4953 r4955  
    3939 * creates a new weapon
    4040*/
    41 Weapon::Weapon ()
     41Weapon::Weapon (WeaponManager* weaponManager)
    4242{
    4343  this->init();
     44  this->setWeaponManager(weaponManager);
    4445}
    4546
     
    8889  this->energy = .0;
    8990  this->energyMax = 10.0;
     91
     92  this->setWeaponManager(NULL);
    9093}
    9194
Note: See TracChangeset for help on using the changeset viewer.