- Exhumed: Stop playing kSoundJonLaugh2 in DLobotomyScreen screenjob if skiprequest is true.

This commit is contained in:
Mitchell Richters 2020-08-24 16:51:38 +10:00
parent b5823385e1
commit 6cbd607f31

View file

@ -387,6 +387,7 @@ public:
int Frame(uint64_t clock, bool skiprequest) override int Frame(uint64_t clock, bool skiprequest) override
{ {
if (clock == 0) PlayLocalSound(StaticSound[kSoundJonLaugh2], 7000, false, CHANF_UI); if (clock == 0) PlayLocalSound(StaticSound[kSoundJonLaugh2], 7000, false, CHANF_UI);
if (skiprequest) StopLocalSound();
return DImageScreen::Frame(clock, skiprequest); return DImageScreen::Frame(clock, skiprequest);
} }
}; };