Changeset 4955 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc
- Timestamp:
- Jul 25, 2005, 3:48:55 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r4954 r4955 46 46 47 47 //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); 50 50 51 51 this->weaponMan->addWeapon(wpRight); … … 80 80 81 81 //weapons: 82 Weapon* wpRight = new TestGun( 0);82 Weapon* wpRight = new TestGun(this->weaponMan, 0); 83 83 wpRight->setName("testGun Right"); 84 Weapon* wpLeft = new TestGun( 1);84 Weapon* wpLeft = new TestGun(this->weaponMan, 1); 85 85 wpLeft->setName("testGun Left"); 86 86
Note: See TracChangeset
for help on using the changeset viewer.