Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 18, 2006, 4:25:18 PM (19 years ago)
Author:
amaechler
Message:

branches/atmospheric_engine: bug fixes and cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/world_entities/space_ships/helicopter.cc

    r7647 r7696  
    5151{
    5252  this->setPlayer(NULL);
     53
     54  if (this->chopperBuffer != NULL)
     55    ResourceManager::getInstance()->unload(this->chopperBuffer);
    5356}
    5457
     
    215218
    216219  this->soundSource.loop(this->chopperBuffer);
    217   PRINTF(0)( "Playing ChopperSound\n" );
     220  // PRINTF(0)( "Playing ChopperSound\n" );
    218221}
    219222
     
    222225  dynamic_cast<Element2D*>(this->getWeaponManager().getFixedTarget())->setVisibility( false);
    223226  this->detachCamera();
    224 
     227  this->soundSource.stop();
    225228}
    226229
Note: See TracChangeset for help on using the changeset viewer.