Core/Position: Remove Position implicit object slicing

This commit is contained in:
Shauren
2025-05-19 15:34:32 +02:00
parent fe788a5eeb
commit a5ca817ff6
7 changed files with 15 additions and 17 deletions

View File

@@ -58,7 +58,7 @@ ChatPacketSender::ChatPacketSender(ChatMsg chatType, ::Language language, WorldO
receiver ? receiver->GetGUID() : ObjectGuid::Empty,
sender ? sender->GetGUID() : ObjectGuid::Empty,
soundKitId,
receiver ? receiver->GetWorldLocation() : Position(0, 0, 0),
receiver ? receiver->GetPosition() : Position(),
broadcastTextId
);
}