[Scummvm-git-logs] scummvm branch-2-5 -> c87a5eb1b0efd5622fe997bb4699a21601de09d3

dreammaster noreply at scummvm.org
Thu Dec 9 03:21:12 UTC 2021


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

Summary:
58b51e7b2d SHERLOCK: Fix missing haze when going to Cleopatra's Needle
c87a5eb1b0 NEWS: Mention Rose Tattoo fog overlay fix


Commit: 58b51e7b2d232c726bf39c5cf8f2b41171451788
    https://github.com/scummvm/scummvm/commit/58b51e7b2d232c726bf39c5cf8f2b41171451788
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-12-08T19:20:46-08:00

Commit Message:
SHERLOCK: Fix missing haze when going to Cleopatra's Needle

In The Case of the Rose Tattoo, certain rooms have a hard-coded haze.
Ensure that this gets loaded even when going directly from the overhead
map to such a room. I could be wrong, but I believe Cleopatra's Needle
is the only such room that can be accessed directly from the map, but do
it for all rooms just in case.

Changed paths:
    engines/sherlock/tattoo/tattoo.cpp


diff --git a/engines/sherlock/tattoo/tattoo.cpp b/engines/sherlock/tattoo/tattoo.cpp
index a0f792dea9..c6317116d3 100644
--- a/engines/sherlock/tattoo/tattoo.cpp
+++ b/engines/sherlock/tattoo/tattoo.cpp
@@ -89,6 +89,15 @@ void TattooEngine::initialize() {
 void TattooEngine::startScene() {
 	TattooUserInterface &ui = *(TattooUserInterface *)_ui;
 
+	if (_scene->_goToScene == OVERHEAD_MAP || _scene->_goToScene == OVERHEAD_MAP2) {
+		// Show the map
+		_scene->_currentScene = OVERHEAD_MAP;
+		_scene->_goToScene = _map->show();
+
+		_people->_savedPos = Common::Point(-1, -1);
+		_people->_savedPos._facing = -1;
+	}
+
 	switch (_scene->_goToScene) {
 	case 7:
 	case 8:
@@ -108,16 +117,6 @@ void TattooEngine::startScene() {
 		ui._lockoutTimer = STARTUP_KEYS_DISABLED_DELAY;
 		break;
 
-	case OVERHEAD_MAP:
-	case OVERHEAD_MAP2:
-		// Show the map
-		_scene->_currentScene = OVERHEAD_MAP;
-		_scene->_goToScene = _map->show();
-
-		_people->_savedPos = Common::Point(-1, -1);
-		_people->_savedPos._facing = -1;
-		break;
-
 	case 101:
 		// Darts Board minigame
 		_darts.playDarts(GAME_CRICKET);


Commit: c87a5eb1b0efd5622fe997bb4699a21601de09d3
    https://github.com/scummvm/scummvm/commit/c87a5eb1b0efd5622fe997bb4699a21601de09d3
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-12-08T19:21:01-08:00

Commit Message:
NEWS: Mention Rose Tattoo fog overlay fix

Changed paths:
    NEWS.md


diff --git a/NEWS.md b/NEWS.md
index 95820b0eca..8740930d8e 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -39,6 +39,7 @@ For a more comprehensive changelog of the latest experimental code, see:
    - Fix glitch opening map in Rose Tattoo.
    - Fix bell pull sound in Serrated Scalpel.
    - Fix inventory not updating in Serrated Scalpel after examining watch.
+   - Fix fog overlay at Cleopatra's Needle in Rose Tattoo.
 
  TwinE:
    - Numerous bugfixes and stability improvements.




More information about the Scummvm-git-logs mailing list