fixed build
This commit is contained in:
1 parent
5caab70374
commit
da5add0628
1 file changed
+1
-1
@@ -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