1
This commit is contained in:
parent
1b9e644f88
commit
f27e70d722
@ -611,7 +611,11 @@ void CallFuncBuff::ProcFlashMoveToPos()
|
|||||||
owner->GetMovement()->ClearPath();
|
owner->GetMovement()->ClearPath();
|
||||||
|
|
||||||
App::Instance()->verify_set_pos = 1;
|
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;
|
App::Instance()->verify_set_pos = 0;
|
||||||
owner->room->grid_service->MoveCreature(owner);
|
owner->room->grid_service->MoveCreature(owner);
|
||||||
#if 0
|
#if 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user