version 1.38.2.1 | | version 1.38.2.2 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.38.2.1 2003/09/15 00:04:00 mwedel Exp $"; | | * "$Id: treasure.c,v 1.38.2.2 2003/09/16 04:20:49 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
op->msg = add_refcount(change->msg); | | op->msg = add_refcount(change->msg); |
} | | } |
/* GROS: Added support for event_... in artifact file */ | | /* GROS: Added support for event_... in artifact file */ |
for(j=0;j<20;j++) | | for(j=0;j<NR_EVENTS;j++) |
{ | | { |
event *evt; | | event *evt; |
event *evt2; | | event *evt2; |
| | |
evt2->next = NULL; | | evt2->next = NULL; |
evt2->hook = add_refcount(evt->hook); | | evt2->hook = add_refcount(evt->hook); |
evt2->plugin = add_refcount(evt->plugin); | | evt2->plugin = add_refcount(evt->plugin); |
| | evt2->type = j; |
| | |
if (evt->options) | | if (evt->options) |
evt2->options = add_refcount(evt->options); | | evt2->options = add_refcount(evt->options); |