version 1.47 | | version 1.48 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.47 2002/12/25 06:45:46 garbled Exp $"; | | * "$Id: time.c,v 1.48 2002/12/31 07:19:08 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
op->stats.dam= op->stats.hp; | | op->stats.dam= op->stats.hp; |
op->attacktype = op->stats.grace; | | op->attacktype = op->stats.grace; |
if (op->slaying != NULL) | | if (op->slaying != NULL) |
free(op->slaying); | | free_string (op->slaying); |
if (op->spellarg != NULL) { | | if (op->spellarg != NULL) { |
op->slaying = strdup(op->spellarg); | | op->slaying = add_string(op->spellarg); |
free(op->spellarg); | | free(op->spellarg); |
} else | | } else |
op->slaying = NULL; | | op->slaying = NULL; |