r6063 - trunk/data/qcsrc/common
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Mar 6 08:51:58 EST 2009
Author: div0
Date: 2009-03-06 08:51:58 -0500 (Fri, 06 Mar 2009)
New Revision: 6063
Modified:
trunk/data/qcsrc/common/util.qc
Log:
no, the last change was misguided. Instead, the engine was wrong...
Modified: trunk/data/qcsrc/common/util.qc
===================================================================
--- trunk/data/qcsrc/common/util.qc 2009-03-06 13:40:21 UTC (rev 6062)
+++ trunk/data/qcsrc/common/util.qc 2009-03-06 13:51:58 UTC (rev 6063)
@@ -1532,10 +1532,10 @@
n = tokenizebyseparator(str, " "); // must match g_maplist processing in ShuffleMaplist and "shuffle"
si = argv_start_index(i);
sj = argv_start_index(j);
- ei = argv_end_index(i) + 1;
- ej = argv_end_index(j) + 1;
+ ei = argv_end_index(i);
+ ej = argv_end_index(j);
s0 = argv_start_index(0);
- en = argv_end_index(n-1) + 1;
+ en = argv_end_index(n-1);
s1 = substring_range(str, s0, si);
s2 = substring_range(str, si, ei);
s3 = substring_range(str, ei, sj);
More information about the nexuiz-commits
mailing list