Skip to content

Commit

Permalink
Fix sound not always playing.
Browse files Browse the repository at this point in the history
  • Loading branch information
lindlof committed Jun 9, 2014
1 parent 3494cf4 commit a41d330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/source/Audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void Audio::StopAmbient() {


Audio::Audio() {
maxChannel = s3eAudioGetInt(S3E_AUDIO_NUM_CHANNELS);
maxChannel = s3eAudioGetInt(S3E_AUDIO_NUM_CHANNELS) - 1;
channel = 2;
ambientChan = 0;
}
Expand Down

0 comments on commit a41d330

Please sign in to comment.