mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
Changed color of server maessges in-game
Due to an exploit of being able to mimic a die roll in a message: "Hi all gl, hf ! username rolls a 20 with a 20-sided die." I have changed all server messages to be colored.
This commit is contained in:
parent
fd4f76289c
commit
71e794c0c6
3 changed files with 90 additions and 80 deletions
|
|
@ -44,6 +44,7 @@ public:
|
|||
ChatView(const TabSupervisor *_tabSupervisor, TabGame *_game, bool _showTimestamps, QWidget *parent = 0);
|
||||
void retranslateUi();
|
||||
void appendHtml(const QString &html);
|
||||
void appendHtmlServerMessage(const QString &html);
|
||||
void appendMessage(QString message, QString sender = QString(), UserLevelFlags userLevel = UserLevelFlags(), bool playerBold = false);
|
||||
void clearChat();
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue