feat(Core/Gameobject): add a range check for gameobjects (#7521)
This commit is contained in:
parent
1c43e6ac6e
commit
ae8a78d90a
10 changed files with 256 additions and 48 deletions
|
|
@ -406,7 +406,7 @@ public:
|
|||
Map* map = object->GetMap();
|
||||
|
||||
object->Relocate(object->GetPositionX(), object->GetPositionY(), object->GetPositionZ(), oz);
|
||||
object->SetWorldRotationAngles(oz, oy, ox);
|
||||
object->SetLocalRotationAngles(oz, oy, ox);
|
||||
|
||||
object->SaveToDB(true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue