Skip to content

Commit

Permalink
- SW: the intro's sound may not be paused when the menu opens.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Apr 19, 2021
1 parent c8e466c commit a919e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/movie/movieplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class AnmPlayer : public MoviePlayer
if (sound == -1)
soundEngine->StopAllChannels();
else if (SoundEnabled())
soundEngine->StartSound(SOURCE_None, nullptr, nullptr, CHAN_AUTO, CHANF_NONE, sound, 1.f, ATTN_NONE);
soundEngine->StartSound(SOURCE_None, nullptr, nullptr, CHAN_AUTO, nostopsound? CHANF_UI : CHANF_NONE, sound, 1.f, ATTN_NONE);
}
}
if (!nostopsound && curframe == numframes && soundEngine->GetSoundPlayingInfo(SOURCE_None, nullptr, -1)) return true;
Expand Down

0 comments on commit a919e52

Please sign in to comment.