[Scummvm-git-logs] scummvm master -> 697dd6a7d29adad4b46e5ba49a7a345b7c435897

dreammaster noreply at scummvm.org
Tue Jun 23 11:55:47 UTC 2026


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:
697dd6a7d2 MADS: FOREST: Fixes for inventory display


Commit: 697dd6a7d29adad4b46e5ba49a7a345b7c435897
    https://github.com/scummvm/scummvm/commit/697dd6a7d29adad4b46e5ba49a7a345b7c435897
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2026-06-23T21:55:39+10:00

Commit Message:
MADS: FOREST: Fixes for inventory display

Changed paths:
    engines/mads/madsv2/forest/inventory.cpp


diff --git a/engines/mads/madsv2/forest/inventory.cpp b/engines/mads/madsv2/forest/inventory.cpp
index bbd95ddc97c..ade074dd552 100644
--- a/engines/mads/madsv2/forest/inventory.cpp
+++ b/engines/mads/madsv2/forest/inventory.cpp
@@ -52,7 +52,7 @@ void init_inventory() {
 }
 
 static Series *object_icon(int num) {
-	Common::String name = Common::String::format("*obj%3di", num);
+	Common::String name = Common::String::format("*ob%03di", num);
 	return sprite_series_load(name.c_str(), 0);
 }
 
@@ -155,7 +155,7 @@ void display_inventory() {
 		return;
 
 	inter_turn_off_object();
-	buffer_rect_copy_2(scr_live, scr_inter_orig, 42, 55, 0, 156, 138, 138);
+	buffer_rect_copy_2(scr_inter_orig, scr_live, 138, 0, 138, 156, 55, 42);
 	inter_update_series(int_sprite[fx_int_journal]);
 	inter_update_series(int_sprite[fx_int_backpack]);
 	inter_update_series(int_sprite[fx_int_candle]);




More information about the Scummvm-git-logs mailing list