Changeset 1957 in orxonox.OLD for orxonox/trunk/src/player.cc
- Timestamp:
- Jun 16, 2004, 9:43:10 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/player.cc
r1956 r1957 75 75 void Player::shoot(int n) 76 76 { 77 if (shootLaser->inhibitor++ <= 100)77 // if (shootLaser->inhibitor++ <= 100) 78 78 shootLaser->addShoot(xCor, yCor, zCor); 79 else if (shootLaser->inhibitor++ <= 200)79 // else if (shootLaser->inhibitor++ <= 200) 80 80 shootLaser->addShootExt(xCor, yCor, zCor, .1, .4, .0); 81 else if (shootLaser->inhibitor++ <= 300)81 // else if (shootLaser->inhibitor++ <= 300) 82 82 shootLaser->addShootExt(xCor, yCor, zCor, -0.1, .4, .0); 83 else83 // else 84 84 shootLaser->inhibitor =0; 85 85 86 if (shootRocket->inhibitor++ >=80)86 // if (shootRocket->inhibitor++ >=80) 87 87 { 88 88 shootRocket->addBackParable(xCor, yCor, zCor); … … 90 90 shootRocket->addSideAcc(xCor, yCor, zCor, LEFT); 91 91 shootRocket->addRotater(xCor, yCor, zCor); 92 if (shootRocket->inhibitor >=90)93 shootRocket->inhibitor =0;92 // if (shootRocket->inhibitor >=90) 93 // shootRocket->inhibitor =0; 94 94 } 95 95 //cout << "Player::shoot" << endl;
Note: See TracChangeset
for help on using the changeset viewer.