[Scummvm-git-logs] scummvm master -> 38932153257def5c32297ae35cbff747d619a67d

aquadran noreply at scummvm.org
Tue Oct 22 14:05:40 UTC 2024


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:
3893215325 WINTERMUTE: WME3D: fix missing condition


Commit: 38932153257def5c32297ae35cbff747d619a67d
    https://github.com/scummvm/scummvm/commit/38932153257def5c32297ae35cbff747d619a67d
Author: Giovanni Cascione (ing.cascione at gmail.com)
Date: 2024-10-22T16:05:35+02:00

Commit Message:
WINTERMUTE: WME3D: fix missing condition

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


diff --git a/engines/wintermute/ad/ad_game.cpp b/engines/wintermute/ad/ad_game.cpp
index a78d12b53f0..790cfe0d976 100644
--- a/engines/wintermute/ad/ad_game.cpp
+++ b/engines/wintermute/ad/ad_game.cpp
@@ -2342,9 +2342,11 @@ char *AdGame::findSpeechFile(char *stringID) {
 
 //////////////////////////////////////////////////////////////////////////
 bool AdGame::renderShadowGeometry() {
+#ifdef ENABLE_WME3D
 	if (_scene && _scene->_geom)
 		return _scene->_geom->renderShadowGeometry();
 	else
+#endif
 		return true;
 }
 




More information about the Scummvm-git-logs mailing list