forked from github/server
initializing new member variable in equipment
This commit is contained in:
parent
570055a493
commit
f6cc641d9c
|
@ -46,6 +46,7 @@ create_equipment(const char * eqname)
|
||||||
eq->name = strdup(eqname);
|
eq->name = strdup(eqname);
|
||||||
eq->next = *eqp;
|
eq->next = *eqp;
|
||||||
eq->items = NULL;
|
eq->items = NULL;
|
||||||
|
eq->spells = NULL;
|
||||||
eq->subsets = NULL;
|
eq->subsets = NULL;
|
||||||
memset(eq->skills, 0, sizeof(eq->skills));
|
memset(eq->skills, 0, sizeof(eq->skills));
|
||||||
*eqp = eq;
|
*eqp = eq;
|
||||||
|
|
Loading…
Reference in New Issue