initializing new member variable in equipment

This commit is contained in:
Enno Rehling 2005-10-23 10:42:26 +00:00
parent 570055a493
commit f6cc641d9c
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ create_equipment(const char * eqname)
eq->name = strdup(eqname);
eq->next = *eqp;
eq->items = NULL;
eq->spells = NULL;
eq->subsets = NULL;
memset(eq->skills, 0, sizeof(eq->skills));
*eqp = eq;