[Scummvm-git-logs] scummvm master -> 024fe7c9f04d00c8ae934edb25079f406ecc70f9

neuromancer noreply at scummvm.org
Mon Nov 17 20:27:42 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:
024fe7c9f0 PRIVATE: fixed demo handling of inventary


Commit: 024fe7c9f04d00c8ae934edb25079f406ecc70f9
    https://github.com/scummvm/scummvm/commit/024fe7c9f04d00c8ae934edb25079f406ecc70f9
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2025-11-17T21:27:29+01:00

Commit Message:
PRIVATE: fixed demo handling of inventary

Changed paths:
    engines/private/funcs.cpp


diff --git a/engines/private/funcs.cpp b/engines/private/funcs.cpp
index e34e4fea195..31aa6d164d8 100644
--- a/engines/private/funcs.cpp
+++ b/engines/private/funcs.cpp
@@ -398,7 +398,7 @@ static void fInventory(ArgArray args) {
 	debugC(1, kPrivateDebugScript, "Inventory(...)");
 	Common::String mask(b1.u.str);
 	if (mask != "\"\"") {
-		if (g_private->inInventory(bmp)) {
+		if (bmp != "\"\"" && g_private->inInventory(bmp)) {
 			return;
 		}
 




More information about the Scummvm-git-logs mailing list