From f246c82fccb919604cc38898d16eaea566283946 Mon Sep 17 00:00:00 2001 From: driAn Date: Tue, 29 Jul 2008 19:17:18 +0000 Subject: [PATCH] don't color teamchat in non-team modes git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2243 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clients2c.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/src/clients2c.cpp b/source/src/clients2c.cpp index a1e880b2..234fb084 100644 --- a/source/src/clients2c.cpp +++ b/source/src/clients2c.cpp @@ -193,7 +193,8 @@ void parsemessages(int cn, playerent *d, ucharbuf &p) filtertext(text, text); playerent *d = getclient(cn); if(!d) break; - conoutf("%s:\f1 %s", colorname(d), text); + if(m_teammode) ("%s:\f1 %s", colorname(d), text); + else conoutf("%s:\f0 %s", colorname(d), text); break; }