Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4955 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc


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/player.cc

    r4954 r4955  
    4646
    4747  //weapons:
    48   Weapon* wpRight = new TestGun(0);
    49   Weapon* wpLeft = new TestGun(1);
     48  Weapon* wpRight = new TestGun(this->weaponMan, 0);
     49  Weapon* wpLeft = new TestGun(this->weaponMan, 1);
    5050
    5151  this->weaponMan->addWeapon(wpRight);
     
    8080
    8181  //weapons:
    82   Weapon* wpRight = new TestGun(0);
     82  Weapon* wpRight = new TestGun(this->weaponMan, 0);
    8383  wpRight->setName("testGun Right");
    84   Weapon* wpLeft = new TestGun(1);
     84  Weapon* wpLeft = new TestGun(this->weaponMan, 1);
    8585  wpLeft->setName("testGun Left");
    8686
Note: See TracChangeset for help on using the changeset viewer.