Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2006, 1:08:50 PM (17 years ago)
Author:
nicolasc
Message:

equalized energy usage of all blasters
solved the fire echo problem, by implementing the releaseFire()
other spaceships need update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/space_ships/space_ship.cc

    r10032 r10036  
    512512
    513513  if( this->bFire)
    514   {
    515514    this->weaponMan.fire();
    516   }
     515  else
     516    this->weaponMan.releaseFire();
     517
    517518  if( this->bSecFire)
    518   {
    519519    this->secWeaponMan.fire();
    520     this->bSecFire = !this->bSecFire;   // FIXME This currently is needed to prevent "echo fires" of a second rocket after its cooldown has passed
    521   }
     520  else
     521    this->secWeaponMan.releaseFire();
    522522
    523523
Note: See TracChangeset for help on using the changeset viewer.