[Scummvm-git-logs] scummvm master -> 200fd14c2ef66bdd58aacfe240f0888d7c9535de

neuromancer noreply at scummvm.org
Mon Nov 17 11:52:12 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:
200fd14c2e FREESCAPE: allow color remapping to persist


Commit: 200fd14c2ef66bdd58aacfe240f0888d7c9535de
    https://github.com/scummvm/scummvm/commit/200fd14c2ef66bdd58aacfe240f0888d7c9535de
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2025-11-17T12:51:53+01:00

Commit Message:
FREESCAPE: allow color remapping to persist

Changed paths:
    engines/freescape/freescape.cpp


diff --git a/engines/freescape/freescape.cpp b/engines/freescape/freescape.cpp
index 308edcb0196..6909f2850d5 100644
--- a/engines/freescape/freescape.cpp
+++ b/engines/freescape/freescape.cpp
@@ -475,6 +475,11 @@ void FreescapeEngine::drawFrame() {
 				drawSensorShoot(sensor);
 		}
 		_underFireFrames--;
+
+		if (_underFireFrames == 0) {
+			_currentArea->unremapColor(_currentArea->_usualBackgroundColor);
+			_currentArea->unremapColor(_currentArea->_skyColor);
+		}
 	}
 
 	if (_shootingFrames > 0) {
@@ -490,11 +495,6 @@ void FreescapeEngine::drawFrame() {
 
 	drawBorder();
 	drawUI();
-
-	if (_underFireFrames == 0) {
-		_currentArea->unremapColor(_currentArea->_usualBackgroundColor);
-		_currentArea->unremapColor(_currentArea->_skyColor);
-	}
 }
 
 void FreescapeEngine::pressedKey(const int keycode) {}




More information about the Scummvm-git-logs mailing list