Correctly generate metadata file for events so that there is no spurious ByRef arguments anymore.
[COMPILER] * BUG: Correctly generate metadata file for events so that there is no spurious ByRef arguments anymore.
This commit is contained in:
parent
e8ae38e098
commit
b7f2918fbd
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ void CLASS_add_event(CLASS *class, TRANS_EVENT *decl)
|
|||
|
||||
if (event->nparam)
|
||||
{
|
||||
ALLOC(&event->param, decl->nparam * sizeof(PARAM));
|
||||
ALLOC_ZERO(&event->param, decl->nparam * sizeof(PARAM));
|
||||
|
||||
for (i = 0; i < decl->nparam; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue