Changeset 9805 in orxonox.OLD for branches/new_class_id/src/lib/sound/sound_buffer_data.cc
- Timestamp:
- Sep 24, 2006, 3:21:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/sound/sound_buffer_data.cc
r9803 r9805 50 50 this->size = 0; 51 51 this->loop = AL_FALSE; 52 53 52 this->bLoaded = false; 54 53 } 55 54 … … 112 111 SDL_FreeWAV(wavBuffer); 113 112 if (SoundEngine::checkError("Could not load Wave file", __LINE__)) 113 { 114 this->bLoaded = true; 114 115 return true; 116 } 115 117 else 116 118 return false; … … 160 162 return false; 161 163 164 this->bLoaded = true; 162 165 return true ; 163 164 166 } 165 167
Note: See TracChangeset
for help on using the changeset viewer.