From 3c37417acc6809daa2029d69fb56bf027a52fb13 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sun, 2 Jun 2019 18:16:56 +0300 Subject: [PATCH] Further updates to plugin command traceback. Use upper case hex. surround command string in single quotes to helpt track empty strings. --- source/Core/Events.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Core/Events.inc b/source/Core/Events.inc index f2241582..c89c261d 100644 --- a/source/Core/Events.inc +++ b/source/Core/Events.inc @@ -236,7 +236,7 @@ void Core::EmitServerFrame(Float32 elapsed_time) void Core::EmitPluginCommand(Uint32 command_identifier, CCStr message) { #if defined(_DEBUG) || defined(SQMOD_ENABLE_SV_EV_TRACEBACK) - SQMOD_CO_EV_TRACEBACK("[TRACE<] Core::PluginCommand(0x%08x, %s)", command_identifier, message) + SQMOD_CO_EV_TRACEBACK("[TRACE<] Core::PluginCommand(0x%08X, '%s')", command_identifier, message) // Ignored for now... SQMOD_CO_EV_TRACEBACK("[TRACE>] Core::PluginCommand") #else