mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-06-20 15:39:25 +02:00
chore(Core/Debug): Compact debug-move whisper format
This commit is contained in:
parent
d4699aff6f
commit
d841b21250
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user