From 4b4fdd26c13f0c8cf7fbd25c7e5c6c5e3a443f31 Mon Sep 17 00:00:00 2001 From: bash Date: Sun, 17 May 2026 11:39:58 +0200 Subject: [PATCH] chore(Core/Debug): Compact debug-move whisper format --- src/Ai/Base/Actions/MovementActions.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Ai/Base/Actions/MovementActions.cpp b/src/Ai/Base/Actions/MovementActions.cpp index 57ad09b01..8091e8617 100644 --- a/src/Ai/Base/Actions/MovementActions.cpp +++ b/src/Ai/Base/Actions/MovementActions.cpp @@ -180,11 +180,11 @@ void MovementAction::EmitDebugMove(char const* method, char const* generator, fl float dis = bot->GetExactDist(x, y, z); std::ostringstream out; - out << "[MOVE] meth=" << method - << " | via=" << (generator && *generator ? generator : "-") - << " | rpg=" << statusName - << " | d=" << dis << "y" - << " | targ=" << (targetName.empty() ? "-" : targetName.c_str()); + out << "[M] | " << method + << " | " << (generator && *generator ? generator : "-") + << " | " << statusName + << " | " << std::fixed << std::setprecision(2) << dis << " yard" + << " | " << (targetName.empty() ? "-" : targetName.c_str()); if (extra && *extra) out << " | " << extra; botAI->TellMasterNoFacing(out);