This commit is contained in:
aozhiwei 2022-10-27 11:27:16 +08:00
parent 3e693867f0
commit 2d9483fe47

View File

@ -801,12 +801,12 @@ void Player::_CMMove(f8::MsgHdr& hdr, const cs::CMMove& msg)
} }
} }
} else { } else {
#if 1 #ifdef DEBUG
a8::XPrintf("attack_dir 0,0\n", {}); a8::XPrintf("attack_dir 0,0\n", {});
#endif #endif
} }
} else { } else {
#if 1 #ifdef DEBUG
a8::XPrintf("moving:%d times:%d\n", {moving ? 1 : 0, GetDisableAttackDirTimes()}); a8::XPrintf("moving:%d times:%d\n", {moving ? 1 : 0, GetDisableAttackDirTimes()});
#endif #endif
if (moving && GetDisableAttackDirTimes() <= 0) { if (moving && GetDisableAttackDirTimes() <= 0) {