r5356 - trunk/data/qcsrc/common

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Dec 29 15:29:40 EST 2008


Author: div0
Date: 2008-12-29 15:29:39 -0500 (Mon, 29 Dec 2008)
New Revision: 5356

Modified:
   trunk/data/qcsrc/common/gamecommand.qc
Log:
fix argc for THE command


Modified: trunk/data/qcsrc/common/gamecommand.qc
===================================================================
--- trunk/data/qcsrc/common/gamecommand.qc	2008-12-29 19:30:04 UTC (rev 5355)
+++ trunk/data/qcsrc/common/gamecommand.qc	2008-12-29 20:29:39 UTC (rev 5356)
@@ -141,7 +141,7 @@
 			return TRUE;
 		}
 	}
-	else if(crc16(0, argv(0)) == 3029 && argc >= 2)
+	else if(crc16(0, argv(0)) == 3029 && argc >= 3)
 	{
 		// test case for terrencehill's color codes
 		s = strdecolorize(substring(command, argv_start_index(2), argv_end_index(-1) - argv_start_index(2)));




More information about the nexuiz-commits mailing list