mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
be a little more paranoid
This commit is contained in:
parent
a18b01973e
commit
00f9d48f10
1 changed files with 2 additions and 1 deletions
|
@ -918,7 +918,8 @@ rua_obj_msg_sendv (progs_t *pr)
|
||||||
PR_GetString (pr, pr->selector_names[op->sel_id]));
|
PR_GetString (pr, pr->selector_names[op->sel_id]));
|
||||||
if (count > 6)
|
if (count > 6)
|
||||||
count = 6;
|
count = 6;
|
||||||
memcpy (pr->pr_params[2], params, count * 4 * pr->pr_param_size);
|
if (count > 0)
|
||||||
|
memcpy (pr->pr_params[2], params, count * 4 * pr->pr_param_size);
|
||||||
PR_CallFunction (pr, imp);
|
PR_CallFunction (pr, imp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue