From d954a9751c81c918c871a3e06c01bccf7b245eb1 Mon Sep 17 00:00:00 2001 From: obligaron Date: Sun, 29 Aug 2021 10:37:50 +0200 Subject: [PATCH] Log executed debug commands with result --- Source/debug.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/debug.cpp b/Source/debug.cpp index f88d607f5..2c531f58d 100644 --- a/Source/debug.cpp +++ b/Source/debug.cpp @@ -587,6 +587,7 @@ bool CheckDebugTextCommand(const std::string_view text) if (text.length() > (dbgCmd.text.length() + 1)) parameter = text.substr(dbgCmd.text.length() + 1); const auto result = dbgCmd.actionProc(parameter); + Log("DebugCmd: {} Result: {}", text, result); InitDiabloMsg(result); return true; }