This commit is contained in:
aozhiwei 2022-10-27 10:46:33 +08:00
parent a7369cb464
commit 363ece4e9b

View File

@ -800,8 +800,15 @@ void Player::_CMMove(f8::MsgHdr& hdr, const cs::CMMove& msg)
}
}
}
} else {
#if 1
a8::XPrintf("attack_dir 0,0\n", {});
#endif
}
} else {
#if 1
a8::XPrintf("moving:%d times:%d\n", {moving ? 1 : 0, GetDisableAttackDirTimes()});
#endif
if (moving && GetDisableAttackDirTimes() <= 0) {
SetAttackDir(GetMoveDir());
if (GetCar() && GetCar()->IsDriver(this)) {