mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Create an event with pcmd->num_args
This commit is contained in:
parent
46e57f0a1f
commit
af056d7646
1 changed files with 1 additions and 1 deletions
|
@ -1402,7 +1402,7 @@ void G_ProcessCacheInitCommands(dtiki_t *tiki)
|
|||
|
||||
for (i = 0; i < tiki->a->num_server_initcmds; i++) {
|
||||
pcmd = &tiki->a->server_initcmds[i];
|
||||
event = new Event(pcmd->args[0]);
|
||||
event = new Event(pcmd->args[0], pcmd->num_args);
|
||||
|
||||
if (Director.GetFlags(event) & EV_CACHE) {
|
||||
for (j = 1; j < pcmd->num_args; j++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue