This commit is contained in:
aozhiwei 2022-12-14 17:25:26 +08:00
parent 479f6c1fc5
commit 2ff96347cf

View File

@ -136,15 +136,10 @@ void Player::InternalUpdate(int delta_time)
} }
if (HasBuffEffect(kBET_Fly)) { if (HasBuffEffect(kBET_Fly)) {
Global::Instance()->verify_set_pos = 1; Global::Instance()->verify_set_pos = 1;
// 999
#if 1
Position pos; Position pos;
pos.x = room->plane.curr_pos.x; pos.x = room->plane.curr_pos.x;
pos.y = room->plane.curr_pos.y; pos.z = room->plane.curr_pos.y;
SetPos(pos); SetPos(pos);
#else
SetPos(room->plane.curr_pos);
#endif
Global::Instance()->verify_set_pos = 0; Global::Instance()->verify_set_pos = 0;
room->grid_service->MoveCreature(this); room->grid_service->MoveCreature(this);
} }