[Scummvm-git-logs] scummvm master -> e1870d6efc055ec86e748fb8547febb75ad7a747

sev- noreply at scummvm.org
Sun Oct 1 22:14:02 UTC 2023


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:
e1870d6efc SLUDGE: Improved execution logs


Commit: e1870d6efc055ec86e748fb8547febb75ad7a747
    https://github.com/scummvm/scummvm/commit/e1870d6efc055ec86e748fb8547febb75ad7a747
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-10-02T00:13:55+02:00

Commit Message:
SLUDGE: Improved execution logs

Changed paths:
    engines/sludge/builtin.cpp


diff --git a/engines/sludge/builtin.cpp b/engines/sludge/builtin.cpp
index baeff56a958..00bd7a13519 100644
--- a/engines/sludge/builtin.cpp
+++ b/engines/sludge/builtin.cpp
@@ -2566,7 +2566,7 @@ BuiltReturn callBuiltIn(int whichFunc, int numParams, LoadedFunction *fun) {
 		if (builtInFunctionArray[whichFunc].func) {
 			debugC(3, kSludgeDebugBuiltin,
 					"Run built-in function %i : %s",
-					whichFunc, (whichFunc < numBIFNames) ? allBIFNames[whichFunc].c_str() : "Unknown");
+					whichFunc, (whichFunc < numBIFNames) ? allBIFNames[whichFunc].c_str() : builtInFunctionArray[whichFunc].name);
 			return builtInFunctionArray[whichFunc].func(numParams, fun);
 		}
 	}




More information about the Scummvm-git-logs mailing list