Changeset 1089 for code/trunk/src/audio
- Timestamp:
- Apr 17, 2008, 1:25:06 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/audio/AudioManager.cc
r1064 r1089 60 60 { 61 61 // currentBgSound = 0; 62 currentBgSound = rand() % bgSounds.size();63 62 if (bgSounds.size() > 0) 64 63 { 64 currentBgSound = rand() % bgSounds.size(); 65 65 if(!bgSounds[currentBgSound]->playback()) 66 66 { … … 72 72 } 73 73 } 74 75 74 } 76 75
Note: See TracChangeset
for help on using the changeset viewer.