This commit is contained in:
aozhiwei 2022-12-16 15:40:48 +08:00
parent bff2024067
commit d67e843c69

View File

@ -84,17 +84,7 @@ void Android::InternalUpdate(int delta_time)
}
if (HasBuffEffect(kBET_Fly)) {
Global::Instance()->verify_set_pos = 1;
// 999
#if 1
{
Position new_pos;
new_pos.x = room->plane.curr_pos.x;
new_pos.y = room->plane.curr_pos.y;
SetPos(new_pos);
}
#else
SetPos(room->plane.curr_pos);
#endif
GetMutablePos().FromVec2(room->plane.curr_pos);
Global::Instance()->verify_set_pos = 0;
room->grid_service->MoveCreature(this);
return;