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
This commit is contained in:
driAn
2008-07-29 19:17:18 +00:00
parent 681ecd7fc4
commit f246c82fcc
+2 -1
View File
@@ -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;
}