version 1.8 | | version 1.9 |
---|
| | |
/* | | /* |
* static char *rcsid_arch_c = | | * static char *rcsid_arch_c = |
* "$Id: arch.c,v 1.8 2001/04/09 06:59:46 mwedel Exp $"; | | * "$Id: arch.c,v 1.9 2001/05/09 06:58:11 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
int i=0,f=0; | | int i=0,f=0; |
| | |
for (at=first_archetype; at!=NULL; at=next) { | | for (at=first_archetype; at!=NULL; at=next) { |
#if 0 /* Right now, we could probably free the entries in the animation | | |
* indexes. However, we should really call a seperate function | | |
* to do that. | | |
*/ | | |
if (at->faces) { | | |
free(at->faces); | | |
f++; | | |
} | | |
#endif | | |
if (at->more) next=at->more; | | if (at->more) next=at->more; |
else next=at->next; | | else next=at->next; |
| | if (at->name) free_string(at->name); |
| | if (at->clone.name) free_string(at->clone.name); |
| | if (at->clone.title) free_string(at->clone.title); |
| | if (at->clone.race) free_string(at->clone.race); |
| | if (at->clone.slaying) free_string(at->clone.slaying); |
| | if (at->clone.msg) free_string(at->clone.msg); |
free(at); | | free(at); |
i++; | | i++; |
} | | } |