r1846 - branches/nexuiz-2.0/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Aug 22 17:07:19 EDT 2006
Author: div0
Date: 2006-08-22 17:07:19 -0400 (Tue, 22 Aug 2006)
New Revision: 1846
Modified:
branches/nexuiz-2.0/data/qcsrc/server/miscfunctions.qc
Log:
decolorization bugfix
Modified: branches/nexuiz-2.0/data/qcsrc/server/miscfunctions.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/miscfunctions.qc 2006-08-22 21:02:57 UTC (rev 1845)
+++ branches/nexuiz-2.0/data/qcsrc/server/miscfunctions.qc 2006-08-22 21:07:19 UTC (rev 1846)
@@ -500,12 +500,12 @@
string ch1, ch2;
n = 1;
ch1 = substring(s, 0, 1);
- ch2 = substring(s, 1, 2);
+ ch2 = substring(s, 1, 1);
if(ch1 == "^")
{
n = 2;
if(ch2 == "^")
- out = strcat(out, "^");
+ out = strcat(out, "^^");
else if(ch2 == "0")
out = strcat(out);
else if(ch2 == "1")
@@ -529,7 +529,7 @@
else
{
n = 1;
- out = strcat(out, "^");
+ out = strcat(out, "^^");
}
s = substring(s, n, strlen(s) - n);
}
More information about the nexuiz-commits
mailing list