diff options
author | Zack Middleton <zturtleman@gmail.com> | 2011-09-09 21:50:45 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 23:37:51 +0000 |
commit | b60b043cdbda1bbdf8451f76bc9f1d0d34d14799 (patch) | |
tree | 944526739d1773373da6a10f838dbdbfcf8f1817 /src/client/cl_ui.c | |
parent | 5a1f21b9439517deaa8eeabfe65b522ba8f954a6 (diff) |
Use EXEC_NOW instead of hardcoded 0 in cl_ui.c
Diffstat (limited to 'src/client/cl_ui.c')
-rw-r--r-- | src/client/cl_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_ui.c b/src/client/cl_ui.c index faa1237a..88e0e6d1 100644 --- a/src/client/cl_ui.c +++ b/src/client/cl_ui.c @@ -758,7 +758,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))) |