Core/Object: Range check (#23179) (ported commit: 32e1de39a26628dcb64bc21ad415afb2ad938925)

This commit is contained in:
Ovahlord committed 2019-04-26 18:41:31 +02:00
1 parent 738aa92782
commit e5d59d5f98
6 files changed
+169 -36

No files matched your search

+1 -1
View File
@@ -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);