[Scummvm-git-logs] scummvm master -> f79c5478f9654d74361d0cd60b783de60331f28a
grisenti
noreply at scummvm.org
Sat Nov 25 15:09:36 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:
f79c5478f9 HPL1: Correctly handle first start
Commit: f79c5478f9654d74361d0cd60b783de60331f28a
https://github.com/scummvm/scummvm/commit/f79c5478f9654d74361d0cd60b783de60331f28a
Author: grisenti (emanuele at grisenti.net)
Date: 2023-11-25T16:07:41+01:00
Commit Message:
HPL1: Correctly handle first start
Changed paths:
engines/hpl1/penumbra-overture/MainMenu.cpp
diff --git a/engines/hpl1/penumbra-overture/MainMenu.cpp b/engines/hpl1/penumbra-overture/MainMenu.cpp
index bba5b3de8d0..dd69e38da21 100644
--- a/engines/hpl1/penumbra-overture/MainMenu.cpp
+++ b/engines/hpl1/penumbra-overture/MainMenu.cpp
@@ -2004,6 +2004,8 @@ void cMainMenu::SetActive(bool abX) {
if (bFirstStart) {
SetState(eMainMenuState_FirstStart);
mLastState = eMainMenuState_FirstStart;
+
+ mpInit->_firstStart = false;
} else {
SetState(eMainMenuState_Start);
mLastState = eMainMenuState_Start;
More information about the Scummvm-git-logs
mailing list