1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Further updates to plugin command traceback.

Use upper case hex. surround command string in single quotes to helpt track empty strings.
This commit is contained in:
Sandu Liviu Catalin 2019-06-02 18:16:56 +03:00
parent 2c500a4f35
commit 3c37417acc

View File

@ -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