mirror of
https://github.com/mangosfour/server.git
synced 2025-12-23 16:37:03 +00:00
[12038] Use bitmask for chat tag.
Thanks to stfx for porting Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
d563c6576d
commit
fd6c2e1751
6 changed files with 28 additions and 19 deletions
|
|
@ -574,7 +574,7 @@ void Channel::Say(ObjectGuid p, const char *what, uint32 lang)
|
|||
data << ObjectGuid(p);
|
||||
data << uint32(messageLength);
|
||||
data << what;
|
||||
data << uint8(plr ? plr->chatTag() : 0);
|
||||
data << uint8(plr ? plr->GetChatTag() : CHAT_TAG_NONE);
|
||||
|
||||
SendToAll(&data, !m_players[p].IsModerator() ? p : ObjectGuid());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue