mirror of
https://github.com/UberGames/ioef.git
synced 2025-01-31 04:50:37 +00:00
Use EXEC_NOW instead of hardcoded 0 in cl_ui.c
This commit is contained in:
parent
72d00c568b
commit
b7fa3e7073
1 changed files with 1 additions and 1 deletions
|
@ -765,7 +765,7 @@ intptr_t CL_UISystemCalls( intptr_t *args ) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case UI_CMD_EXECUTETEXT:
|
case UI_CMD_EXECUTETEXT:
|
||||||
if(args[1] == 0
|
if(args[1] == EXEC_NOW
|
||||||
&& (!strncmp(VMA(2), "snd_restart", 11)
|
&& (!strncmp(VMA(2), "snd_restart", 11)
|
||||||
|| !strncmp(VMA(2), "vid_restart", 11)
|
|| !strncmp(VMA(2), "vid_restart", 11)
|
||||||
|| !strncmp(VMA(2), "quit", 5)))
|
|| !strncmp(VMA(2), "quit", 5)))
|
||||||
|
|
Loading…
Reference in a new issue