This commit is contained in:
aozhiwei 2024-02-19 17:02:51 +08:00
parent 3c8c2a893b
commit 82f50e1ae9

View File

@ -421,9 +421,11 @@ void CallFuncBuff::ProcFlashMove()
hit_point,
hit_result);
if (ret) {
int last_poly_flags = owner->room->map_instance->GetLastRaycastPolyFlags();
owner->room->map_instance->UnScale(hit_point);
owner->GetMovement()->ClearPath();
owner->context_real_pos = hit_point;
owner->CheckSpecObject(last_poly_flags);
Position new_pos;
new_pos.FromGlmVec3(hit_point);
@ -448,6 +450,7 @@ void CallFuncBuff::ProcFlashMove()
car->GetDriver()->SetPos(new_pos);
car->SyncPos();
car->GetDriver()->GetMovement()->ClearPath();
car->GetDriver()->CheckSpecObject(last_poly_flags);
App::Instance()->verify_set_pos = 0;
}
}