Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 24, 2006, 3:21:12 PM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: SoundSource completely added as a Resource

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/sound/sound_buffer_data.cc

    r9803 r9805  
    5050    this->size = 0;
    5151    this->loop = AL_FALSE;
    52 
    53 
     52    this->bLoaded = false;
    5453  }
    5554
     
    112111    SDL_FreeWAV(wavBuffer);
    113112    if (SoundEngine::checkError("Could not load Wave file", __LINE__))
     113    {
     114      this->bLoaded = true;
    114115      return true;
     116    }
    115117    else
    116118      return false;
     
    160162      return false;
    161163
     164    this->bLoaded = true;
    162165    return true ;
    163 
    164166  }
    165167
Note: See TracChangeset for help on using the changeset viewer.