feat(Core/Gameobject): add a range check for gameobjects (#7521)

This commit is contained in:
lineagedr 2021-08-31 11:34:43 +03:00 committed by GitHub
parent 1c43e6ac6e
commit ae8a78d90a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 256 additions and 48 deletions

View file

@ -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);