[Scummvm-git-logs] scummvm branch-2-9 -> 4817e0e99a186be4f9f21cb9032d11da06f26b40

mduggan noreply at scummvm.org
Sun Nov 24 02:43:27 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:
4817e0e99a ULTIMA: NUVIE: Use correct path for corpse gump buttons


Commit: 4817e0e99a186be4f9f21cb9032d11da06f26b40
    https://github.com/scummvm/scummvm/commit/4817e0e99a186be4f9f21cb9032d11da06f26b40
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2024-11-24T13:43:19+11:00

Commit Message:
ULTIMA: NUVIE: Use correct path for corpse gump buttons

This seems to have been missed when migrating the engine to use
Common::Path, it should follow the same pattern as other containers.

fixes #15522.

Changed paths:
    engines/ultima/nuvie/views/container_view_gump.cpp


diff --git a/engines/ultima/nuvie/views/container_view_gump.cpp b/engines/ultima/nuvie/views/container_view_gump.cpp
index 180681821cd..5049a7058b5 100644
--- a/engines/ultima/nuvie/views/container_view_gump.cpp
+++ b/engines/ultima/nuvie/views/container_view_gump.cpp
@@ -210,8 +210,8 @@ void ContainerViewGump::init_corpse(const Common::Path &datadir, Std::string bg_
 
 	build_path(datadir, "container", path);
 
-	up_arrow_button = loadButton(datadir, "cont_up", 67, 28);
-	down_arrow_button = loadButton(datadir, "cont_down", 67, 78);
+	up_arrow_button = loadButton(path, "cont_up", 67, 28);
+	down_arrow_button = loadButton(path, "cont_down", 67, 78);
 
 	build_path(path, bg_filename, imagefile);
 




More information about the Scummvm-git-logs mailing list