projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dec7bc
)
Always use white text when there's /me in a chat line; it fixes "if your name has...
author
terencehill <piuntn@gmail.com>
Mon, 14 Jan 2019 14:14:38 +0000
(15:14 +0100)
committer
terencehill <piuntn@gmail.com>
Mon, 14 Jan 2019 14:14:38 +0000
(15:14 +0100)
qcsrc/server/client.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/client.qc
b/qcsrc/server/client.qc
index ee87e2ea286015561b4ae48d76b26e3f2dee47fd..fe0c04179ddcec573cb03e0fa7511ab039dc97c8 100644
(file)
--- a/
qcsrc/server/client.qc
+++ b/
qcsrc/server/client.qc
@@
-2750,7
+2750,7
@@
int Say(entity source, int teamsay, entity privatesay, string msgin, bool floodc
if(strstrofs(msgin, "/me", 0) >= 0)
{
string newmsgin = "";
- string newnamestr = ((teamsay) ? strcat(colorstr, "(", colorprefix, namestr, colorstr, ")",
colorprefix) : strcat(colorprefix, namestr, colorprefix
));
+ string newnamestr = ((teamsay) ? strcat(colorstr, "(", colorprefix, namestr, colorstr, ")",
"^7") : strcat(colorprefix, namestr, "^7"
));
FOREACH_WORD(msgin, true,
{
if(strdecolorize(it) == "/me")