[Scummvm-git-logs] scummvm master -> 7a698a7220204943465b795db1da5adab6dac70a

bluegr noreply at scummvm.org
Tue Jul 8 22:01:50 UTC 2025


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

Summary:
7a698a7220 NANCY: Set the phone tutorial flag to false for Nancy9


Commit: 7a698a7220204943465b795db1da5adab6dac70a
    https://github.com/scummvm/scummvm/commit/7a698a7220204943465b795db1da5adab6dac70a
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2025-07-09T01:01:38+03:00

Commit Message:
NANCY: Set the phone tutorial flag to false for Nancy9

This makes the actual phone interface available after the tutorial

Changed paths:
    engines/nancy/action/puzzle/telephone.cpp


diff --git a/engines/nancy/action/puzzle/telephone.cpp b/engines/nancy/action/puzzle/telephone.cpp
index ed89300cb70..ca121e00e1c 100644
--- a/engines/nancy/action/puzzle/telephone.cpp
+++ b/engines/nancy/action/puzzle/telephone.cpp
@@ -48,6 +48,13 @@ void Telephone::init() {
 	if (_isNewPhone) {
 		_font = g_nancy->_graphics->getFont(_displayFont);
 	}
+
+	// Set the phone tutorial flag to false for Nancy9, so that
+	// the actual phone interface is available after the tutorial.
+	// TODO: Is this the right place to set this flag?
+	if (g_nancy->getGameType() == kGameTypeNancy9) {
+		NancySceneState.setEventFlag(592, g_nancy->_false);
+	}
 }
 
 void Telephone::readData(Common::SeekableReadStream &stream) {




More information about the Scummvm-git-logs mailing list