fixed build

This commit is contained in:
Ovahlord
2021-10-20 17:57:33 +02:00
parent 5caab70374
commit da5add0628

View File

@@ -147,7 +147,7 @@ void CreatureTextMgr::SendChatPacket(WorldObject* source, Builder const& builder
if (!whisperTarget || !whisperTarget->IsPlayer())
return;
localizer(whisperTarget->ToPlayer());
localizer(const_cast<Player*>whisperTarget->ToPlayer());
return;
case TEXT_RANGE_NORMAL:
default: