Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10403 in orxonox.OLD for trunk/src/world_entities/sound_entity.cc


Ignore:
Timestamp:
Jan 27, 2007, 12:21:10 AM (17 years ago)
Author:
patrick
Message:

fading now works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/sound_entity.cc

    r10368 r10403  
    4141  this->soundSource.setSourceNode(this);
    4242
     43  this->bInit = false;
     44
    4345  if( root != NULL)
    4446    this->loadParams(root);
     
    7577{
    7678  this->soundBuffer = OrxSound::ResourceSoundBuffer(fileName);
     79  this->bInit = true;
    7780}
    7881
     
    8083void SoundEntity::activate()
    8184{
     85  this->soundSource.play();
    8286}
    8387
Note: See TracChangeset for help on using the changeset viewer.