mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 20:02:25 +01:00
Core/Object: Range check (#23179) (ported commit: 32e1de39a2)
This commit is contained in:
@@ -445,7 +445,7 @@ public:
|
||||
}
|
||||
|
||||
object->Relocate(object->GetPositionX(), object->GetPositionY(), object->GetPositionZ());
|
||||
object->SetWorldRotationAngles(oz, oy, ox);
|
||||
object->SetLocalRotationAngles(oz, oy, ox);
|
||||
object->SaveToDB();
|
||||
|
||||
handler->PSendSysMessage(LANG_COMMAND_TURNOBJMESSAGE, object->GetGUID().GetCounter(), object->GetGOInfo()->name.c_str(), object->GetGUID().GetCounter(), oz);
|
||||
|
||||
Reference in New Issue
Block a user