[Scummvm-git-logs] scummvm master -> 680ecf626007c509191444c33d2803c79d8519dd

aquadran noreply at scummvm.org
Thu Jul 16 09:47:45 UTC 2026


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:
680ecf6260 WINTERMUTE: Silence wrong alpha argument for 'PlayTheora' in 'Barrow Hill - The Dark Path'


Commit: 680ecf626007c509191444c33d2803c79d8519dd
    https://github.com/scummvm/scummvm/commit/680ecf626007c509191444c33d2803c79d8519dd
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2026-07-16T11:47:34+02:00

Commit Message:
WINTERMUTE: Silence wrong alpha argument for 'PlayTheora' in 'Barrow Hill - The Dark Path'

Changed paths:
    engines/wintermute/ad/ad_entity.cpp


diff --git a/engines/wintermute/ad/ad_entity.cpp b/engines/wintermute/ad/ad_entity.cpp
index 47c56d7bdbe..6f647ed951d 100644
--- a/engines/wintermute/ad/ad_entity.cpp
+++ b/engines/wintermute/ad/ad_entity.cpp
@@ -737,7 +737,11 @@ bool AdEntity::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack
 		_theora = new VideoTheoraPlayer(_game);
 		if (_theora && DID_SUCCEED(_theora->initialize(filename))) {
 			if (!valAlpha->isNULL()) {
-				_theora->setAlphaImage(valAlpha->getString());
+				if (BaseEngine::instance().getGameId() == "barrowhilldp") {
+					// Silence wrong alpha argument in 'Barrow Hill - The Dark Path'
+				} else {
+					_theora->setAlphaImage(valAlpha->getString());
+				}
 			}
 			_theora->play(VID_PLAY_POS, 0, 0, false, false, looping, startTime, _scale >= 0.0f ? _scale : -1.0f, _sFXVolume);
 			//if (_scale>=0) _theora->_playZoom = _scale;




More information about the Scummvm-git-logs mailing list