mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 17:08:23 +01:00
fixed build
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user