Changeset 10224 in orxonox.OLD for branches/playability/src/world_entities/weapons/weapon_manager.cc
- Timestamp:
- Jan 10, 2007, 5:33:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/weapon_manager.cc
r10132 r10224 431 431 void WeaponManager::fire() 432 432 { 433 printf("firing WM: "); 433 434 Weapon* firingWeapon; 434 435 for(int i = 0; i < this->slotCount; i++) 435 436 { 437 printf("%i ", i); 436 438 firingWeapon = this->currentSlotConfig[i].currentWeapon; 437 439 if( firingWeapon != NULL && firingWeapon->getCurrentState() == WS_SHOOTING) continue; 438 440 if( firingWeapon != NULL) firingWeapon->requestAction(WA_SHOOT); 439 441 } 440 442 printf("\n"); 441 443 /* 442 444 this->crosshair->setRotationSpeed(500);
Note: See TracChangeset
for help on using the changeset viewer.