mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
feat(Core/Gameobject): add a range check for gameobjects (#7521)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user