This commit is contained in:
aozhiwei 2022-08-12 14:43:37 +08:00
parent 0d0e1716e1
commit 70422aea17

View File

@ -1834,6 +1834,9 @@ void Human::_InternalUpdateMove(float speed)
nx = -nx;
ny = -ny;
}
if (HasBuffEffect(kBET_Hide)) {
RemoveBuffByEffectId(kBET_Hide);
}
#if 1
SetPos(old_pos + a8::Vec2(nx, ny));
if (!CheckCollision()) {