1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-19 00:17:56 +02:00

wait while audio playing; no audio on custom campaigns

This commit is contained in:
Laserlicht
2023-09-11 14:04:44 +02:00
committed by GitHub
parent fc1ce85a72
commit 00f07f93d1
4 changed files with 16 additions and 2 deletions

View File

@ -50,7 +50,7 @@ void CPrologEpilogVideo::show(Canvas & to)
else
text->showAll(to); // blit text over video, if needed
if(text->textSize.y + 100 < positionCounter / 5)
if(text->textSize.y + 100 < positionCounter / 5 && !CCS->soundh->isSoundPlaying(voiceSoundHandle))
clickPressed(GH.getCursorPosition());
}