[Scummvm-git-logs] scummvm master -> 0fcf39c0485f7ba6dfb2fde7d27b9828afa56d80

aquadran noreply at scummvm.org
Mon Oct 28 19:28:50 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:
0fcf39c048 WINTERMUTE: Restored renderShadowGeometry() previous placement


Commit: 0fcf39c0485f7ba6dfb2fde7d27b9828afa56d80
    https://github.com/scummvm/scummvm/commit/0fcf39c0485f7ba6dfb2fde7d27b9828afa56d80
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-10-28T20:28:45+01:00

Commit Message:
WINTERMUTE: Restored renderShadowGeometry() previous placement

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 1d29dd040e1..3d6a4cd5f72 100644
--- a/engines/wintermute/ad/ad_game.cpp
+++ b/engines/wintermute/ad/ad_game.cpp
@@ -2340,6 +2340,16 @@ char *AdGame::findSpeechFile(char *stringID) {
 	return nullptr;
 }
 
+#ifdef ENABLE_WME3D
+//////////////////////////////////////////////////////////////////////////
+bool AdGame::renderShadowGeometry() {
+	if (_scene && _scene->_geom)
+		return _scene->_geom->renderShadowGeometry();
+	else
+		return true;
+}
+#endif
+
 //////////////////////////////////////////////////////////////////////////
 bool AdGame::validMouse() {
 	Point32 pos;
@@ -2495,14 +2505,6 @@ bool AdGame::displayDebugInfo() {
 
 
 #ifdef ENABLE_WME3D
-//////////////////////////////////////////////////////////////////////////
-bool AdGame::renderShadowGeometry() {
-	if (_scene && _scene->_geom)
-		return _scene->_geom->renderShadowGeometry();
-	else
-		return true;
-}
-
 //////////////////////////////////////////////////////////////////////////
 Wintermute::TShadowType AdGame::getMaxShadowType(Wintermute::BaseObject *object) {
 	TShadowType ret = BaseGame::getMaxShadowType(object);




More information about the Scummvm-git-logs mailing list