From b7fa3e70738a5d9acdd0e63f9b8d562bc6ebf26e Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 9 Sep 2011 21:50:45 +0000 Subject: [PATCH] Use EXEC_NOW instead of hardcoded 0 in cl_ui.c --- code/client/cl_ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/cl_ui.c b/code/client/cl_ui.c index e65977bd..7d633afa 100644 --- a/code/client/cl_ui.c +++ b/code/client/cl_ui.c @@ -765,7 +765,7 @@ intptr_t CL_UISystemCalls( intptr_t *args ) { 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)))