[Scummvm-git-logs] scummvm master -> b6606f33a21c74dbcc3b42ab69b23feb3387052c

elasota noreply at scummvm.org
Tue May 30 18:23:31 UTC 2023


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:
b6606f33a2 VCRUISE: Fix credits not playing in Schizm if the user clicks "Credits" after backing out of the credits


Commit: b6606f33a21c74dbcc3b42ab69b23feb3387052c
    https://github.com/scummvm/scummvm/commit/b6606f33a21c74dbcc3b42ab69b23feb3387052c
Author: elasota (ejlasota at gmail.com)
Date: 2023-05-30T14:23:11-04:00

Commit Message:
VCRUISE: Fix credits not playing in Schizm if the user clicks "Credits" after backing out of the credits

Changed paths:
    engines/vcruise/runtime.cpp


diff --git a/engines/vcruise/runtime.cpp b/engines/vcruise/runtime.cpp
index 08f32cff6c4..6617c3626c9 100644
--- a/engines/vcruise/runtime.cpp
+++ b/engines/vcruise/runtime.cpp
@@ -143,6 +143,11 @@ void RuntimeMenuInterface::restartGame() const {
 void RuntimeMenuInterface::goToCredits() const {
 	_runtime->clearScreen();
 
+	// In Schizm, exiting credits doesn't transition to the main menu screen,
+	// so we must force a screen change for when the user clicks Credits after
+	// leaving the credits screen
+	_runtime->_forceScreenChange = true;
+
 	if (_runtime->_gameID == GID_REAH)
 		_runtime->changeToScreen(40, 0xa1);
 	else if (_runtime->_gameID == GID_SCHIZM)




More information about the Scummvm-git-logs mailing list