Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10528 in orxonox.OLD for trunk/src/world_entities/weapons


Ignore:
Timestamp:
Jan 31, 2007, 12:13:14 AM (17 years ago)
Author:
patrick
Message:

iterative mp part sys fix

Location:
trunk/src/world_entities/weapons
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/light_blaster.cc

    r10516 r10528  
    127127void LightBlaster::fire()
    128128{
     129  PRINTF(0)("=>>fir\n");
    129130  Projectile* pj =  this->getProjectile();
    130131  if (pj == NULL)
  • trunk/src/world_entities/weapons/weapon.cc

    r10516 r10528  
    440440    if (this->requestedAction != WA_NONE)
    441441      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);
    443443    this->requestedAction = action;
    444444  }
  • trunk/src/world_entities/weapons/weapon_manager.cc

    r10526 r10528  
    441441    if( firingWeapon != NULL)
    442442    {
    443       PRINTF(0)("!=NULL\n");
    444443      if( firingWeapon->getCurrentState() == WS_SHOOTING) continue;
    445       PRINTF(0)("FIRE\n");
    446444
    447445      firingWeapon->requestAction(WA_SHOOT);
     
    464462  {
    465463    firingWeapon = this->currentSlotConfig[i]->getCurrentWeapon();
    466     if( firingWeapon != NULL) firingWeapon->requestAction(WA_NONE);
     464    if( firingWeapon != NULL)
     465      firingWeapon->requestAction(WA_NONE);
    467466  }
    468467
Note: See TracChangeset for help on using the changeset viewer.