[quake3-commits] r2162 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Sep 9 17:50:45 EDT 2011


Author: ztm
Date: 2011-09-09 17:50:45 -0400 (Fri, 09 Sep 2011)
New Revision: 2162

Modified:
   trunk/code/client/cl_ui.c
Log:
Use EXEC_NOW instead of hardcoded 0 in cl_ui.c

Modified: trunk/code/client/cl_ui.c
===================================================================
--- trunk/code/client/cl_ui.c	2011-09-09 21:49:03 UTC (rev 2161)
+++ trunk/code/client/cl_ui.c	2011-09-09 21:50:45 UTC (rev 2162)
@@ -765,7 +765,7 @@
 		return 0;
 
 	case UI_CMD_EXECUTETEXT:
-		if(args[1] == 0
+		if(args[1] == EXEC_NOW
 		&& (!strncmp(VMA(2), "snd_restart", 11)
 		|| !strncmp(VMA(2), "vid_restart", 11)
 		|| !strncmp(VMA(2), "quit", 5)))



More information about the quake3-commits mailing list