This commit is contained in:
aozhiwei 2024-09-10 15:57:02 +08:00
parent 1b9e644f88
commit f27e70d722

View File

@ -611,7 +611,11 @@ void CallFuncBuff::ProcFlashMoveToPos()
owner->GetMovement()->ClearPath();
App::Instance()->verify_set_pos = 1;
owner->GetMutablePos().FromGlmVec3(glm::vec3(x, y, z));
if (owner->IsClientMove()) {
owner->GetMutablePos().FromGlmVec3(glm::vec3(x, y, z));
} else {
owner->GetMutablePos().FromGlmVec3(glm::vec3(x, y, z));
}
App::Instance()->verify_set_pos = 0;
owner->room->grid_service->MoveCreature(owner);
#if 0