chore(Core/Debug): Compact debug-move whisper format

This commit is contained in:
bash 2026-05-17 11:39:58 +02:00
parent d4699aff6f
commit d841b21250

View File

@ -180,11 +180,11 @@ void MovementAction::EmitDebugMove(char const* method, char const* generator, fl
float dis = bot->GetExactDist(x, y, z); float dis = bot->GetExactDist(x, y, z);
std::ostringstream out; std::ostringstream out;
out << "[MOVE] meth=" << method out << "[M] | " << method
<< " | via=" << (generator && *generator ? generator : "-") << " | " << (generator && *generator ? generator : "-")
<< " | rpg=" << statusName << " | " << statusName
<< " | d=" << dis << "y" << " | " << std::fixed << std::setprecision(2) << dis << " yard"
<< " | targ=" << (targetName.empty() ? "-" : targetName.c_str()); << " | " << (targetName.empty() ? "-" : targetName.c_str());
if (extra && *extra) if (extra && *extra)
out << " | " << extra; out << " | " << extra;
botAI->TellMasterNoFacing(out); botAI->TellMasterNoFacing(out);