r2276 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Apr 1 08:51:34 EDT 2007
Author: div0
Date: 2007-04-01 08:51:34 -0400 (Sun, 01 Apr 2007)
New Revision: 2276
Modified:
trunk/data/qcsrc/server/clientcommands.qc
Log:
DP uses say with two spaces in messagemode - workaround
Modified: trunk/data/qcsrc/server/clientcommands.qc
===================================================================
--- trunk/data/qcsrc/server/clientcommands.qc 2007-04-01 12:42:33 UTC (rev 2275)
+++ trunk/data/qcsrc/server/clientcommands.qc 2007-04-01 12:51:34 UTC (rev 2276)
@@ -38,6 +38,10 @@
}
*/
+ if(!teamsay)
+ if(substring(msgin, 0, 1) == " ")
+ msgin = substring(msgin, 1, strlen(msgin) - 1); // work around DP say bug (say_team does not have this!)
+
if(cvar("g_teamcolors_chat"))
namestr = playername(source);
else
More information about the nexuiz-commits
mailing list