1
This commit is contained in:
parent
3c8c2a893b
commit
82f50e1ae9
@ -421,9 +421,11 @@ void CallFuncBuff::ProcFlashMove()
|
|||||||
hit_point,
|
hit_point,
|
||||||
hit_result);
|
hit_result);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
int last_poly_flags = owner->room->map_instance->GetLastRaycastPolyFlags();
|
||||||
owner->room->map_instance->UnScale(hit_point);
|
owner->room->map_instance->UnScale(hit_point);
|
||||||
owner->GetMovement()->ClearPath();
|
owner->GetMovement()->ClearPath();
|
||||||
owner->context_real_pos = hit_point;
|
owner->context_real_pos = hit_point;
|
||||||
|
owner->CheckSpecObject(last_poly_flags);
|
||||||
|
|
||||||
Position new_pos;
|
Position new_pos;
|
||||||
new_pos.FromGlmVec3(hit_point);
|
new_pos.FromGlmVec3(hit_point);
|
||||||
@ -448,6 +450,7 @@ void CallFuncBuff::ProcFlashMove()
|
|||||||
car->GetDriver()->SetPos(new_pos);
|
car->GetDriver()->SetPos(new_pos);
|
||||||
car->SyncPos();
|
car->SyncPos();
|
||||||
car->GetDriver()->GetMovement()->ClearPath();
|
car->GetDriver()->GetMovement()->ClearPath();
|
||||||
|
car->GetDriver()->CheckSpecObject(last_poly_flags);
|
||||||
App::Instance()->verify_set_pos = 0;
|
App::Instance()->verify_set_pos = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user