[Scummvm-git-logs] scummvm master -> 3dc5ffba4e90a984a696d95fe3d1d8abdaad69f0
mduggan
noreply at scummvm.org
Sat Jun 28 00:14:34 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:
3dc5ffba4e TETRAEDGE: Fix loading of textures for scene objects
Commit: 3dc5ffba4e90a984a696d95fe3d1d8abdaad69f0
https://github.com/scummvm/scummvm/commit/3dc5ffba4e90a984a696d95fe3d1d8abdaad69f0
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2025-06-28T10:13:49+10:00
Commit Message:
TETRAEDGE: Fix loading of textures for scene objects
Eg, the bannister upstairs in the Inn at the start.
Changed paths:
engines/tetraedge/game/in_game_scene.cpp
diff --git a/engines/tetraedge/game/in_game_scene.cpp b/engines/tetraedge/game/in_game_scene.cpp
index a219003d6e9..4fb039701c0 100644
--- a/engines/tetraedge/game/in_game_scene.cpp
+++ b/engines/tetraedge/game/in_game_scene.cpp
@@ -688,7 +688,10 @@ bool InGameScene::load(const TetraedgeFSNode &sceneNode) {
return false;
close();
- _loadedPath = sceneNode.getPath();
+
+ // Scene node points to the geometry bin file, for other items we need
+ // to use the parent directory.
+ _loadedPath = sceneNode.getPath().getParent();
Common::ScopedPtr<Common::SeekableReadStream> scenefile(sceneNode.createReadStream());
if (!scenefile)
return false;
More information about the Scummvm-git-logs
mailing list