[Scummvm-git-logs] scummvm master -> 72732b8a7ac64279a5a51dd699cb822c5566b2c8

bluegr noreply at scummvm.org
Sat Nov 9 21:44:35 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
72732b8a7a CHEWY: Clear pending engine events when starting cutscenes - bug #13706


Commit: 72732b8a7ac64279a5a51dd699cb822c5566b2c8
    https://github.com/scummvm/scummvm/commit/72732b8a7ac64279a5a51dd699cb822c5566b2c8
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2024-11-09T23:44:24+02:00

Commit Message:
CHEWY: Clear pending engine events when starting cutscenes - bug #13706

Changed paths:
    engines/chewy/r_event.cpp


diff --git a/engines/chewy/r_event.cpp b/engines/chewy/r_event.cpp
index a70aac551b0..2ddb455c070 100644
--- a/engines/chewy/r_event.cpp
+++ b/engines/chewy/r_event.cpp
@@ -708,6 +708,8 @@ void flic_cut(int16 nr) {
 	int16 i, ret = 0;
 	bool keepPlaying = true;
 
+	EVENTS_CLEAR;
+
 	_G(out)->setPointer(nullptr);
 	g_engine->_sound->stopAllSounds();
 	g_events->delay(50);




More information about the Scummvm-git-logs mailing list