This commit is contained in:
aozhiwei 2023-01-03 15:10:53 +08:00
parent ec0d3ffb8f
commit 52099a9094

View File

@ -57,12 +57,14 @@ void SprintBuff::SprintMove()
{ {
if (a8::TIMER_EXEC_EVENT == event) { if (a8::TIMER_EXEC_EVENT == event) {
Human* hum = owner->AsHuman(); Human* hum = owner->AsHuman();
hum->SendDebugMsg(a8::Format("xxxxxxxx move_dir:%d,%d attack_dir:%d,%d speed:%d", hum->SendDebugMsg(a8::Format("xxxxxxxx move_dir:%f,%f,%f attack_dir:%f,%f,%f speed:%d",
{ {
hum->GetMoveDir().x, hum->GetMoveDir().x,
hum->GetMoveDir().y, hum->GetMoveDir().y,
hum->GetMoveDir().z,
hum->GetAttackDir().x, hum->GetAttackDir().x,
hum->GetAttackDir().y, hum->GetAttackDir().y,
hum->GetAttackDir().z,
hum->GetSpeed() hum->GetSpeed()
})); }));
} }