Changeset 10528 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Jan 31, 2007, 12:13:14 AM (18 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/light_blaster.cc
r10516 r10528 127 127 void LightBlaster::fire() 128 128 { 129 PRINTF(0)("=>>fir\n"); 129 130 Projectile* pj = this->getProjectile(); 130 131 if (pj == NULL) -
trunk/src/world_entities/weapons/weapon.cc
r10516 r10528 440 440 if (this->requestedAction != WA_NONE) 441 441 return; 442 PRINTF( 5)("next action will be %s in %f seconds\n", actionToChar(action), this->stateDuration);442 PRINTF(0)("next action will be %s in %f seconds\n", actionToChar(action), this->stateDuration); 443 443 this->requestedAction = action; 444 444 } -
trunk/src/world_entities/weapons/weapon_manager.cc
r10526 r10528 441 441 if( firingWeapon != NULL) 442 442 { 443 PRINTF(0)("!=NULL\n");444 443 if( firingWeapon->getCurrentState() == WS_SHOOTING) continue; 445 PRINTF(0)("FIRE\n");446 444 447 445 firingWeapon->requestAction(WA_SHOOT); … … 464 462 { 465 463 firingWeapon = this->currentSlotConfig[i]->getCurrentWeapon(); 466 if( firingWeapon != NULL) firingWeapon->requestAction(WA_NONE); 464 if( firingWeapon != NULL) 465 firingWeapon->requestAction(WA_NONE); 467 466 } 468 467
Note: See TracChangeset
for help on using the changeset viewer.