[Scummvm-git-logs] scummvm master -> 58b57289b4a06cbdd0205e32a228ab91344b0427

aquadran noreply at scummvm.org
Tue Jul 22 18:29:41 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:
58b57289b4 WINTERMUTE: Original 3DS loader code has case insensitive string comparison


Commit: 58b57289b4a06cbdd0205e32a228ab91344b0427
    https://github.com/scummvm/scummvm/commit/58b57289b4a06cbdd0205e32a228ab91344b0427
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-07-22T20:29:35+02:00

Commit Message:
WINTERMUTE: Original 3DS loader code has case insensitive string comparison

Changed paths:
    engines/wintermute/base/gfx/3dloader_3ds.cpp


diff --git a/engines/wintermute/base/gfx/3dloader_3ds.cpp b/engines/wintermute/base/gfx/3dloader_3ds.cpp
index e1da68e30d3..8c75382454e 100644
--- a/engines/wintermute/base/gfx/3dloader_3ds.cpp
+++ b/engines/wintermute/base/gfx/3dloader_3ds.cpp
@@ -314,7 +314,7 @@ bool Loader3DS::parseFile(const Common::String &filename) {
 						// inject this roll value to the camera
 						if (key == 0) {
 							for (uint32 index = 0; index < _objects.getSize(); index++) {
-								if (_objects[index]->_type == OBJ_3DS_CAMERA && _objects[index]->_name == keyframerObject) {
+								if (_objects[index]->_type == OBJ_3DS_CAMERA && _objects[index]->_name.compareToIgnoreCase(keyframerObject) == 0) {
 									_objects[index]->_cameraBank = cameraRoll;
 									break;
 								}




More information about the Scummvm-git-logs mailing list