version 1.11 | | version 1.12 |
---|
| | |
/* | | /* |
* static char *rcsid_c_range_c = | | * static char *rcsid_c_range_c = |
* "$Id: c_range.c,v 1.11 2005/08/12 13:46:34 ryo_saeba Exp $"; | | * "$Id: c_range.c,v 1.12 2005/10/01 17:46:05 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} else { | | } else { |
op->contr->ranges[range_magic] = spob; | | op->contr->ranges[range_magic] = spob; |
op->contr->shoottype = range_magic; | | op->contr->shoottype = range_magic; |
| | if(cp != NULL) { |
| | strncpy(op->contr->spellparam, cp, MAX_BUF); |
| | op->contr->spellparam[MAX_BUF-1] = '\0'; |
| | } else { |
| | op->contr->spellparam[0] = '\0'; |
| | } |
new_draw_info_format(NDI_UNIQUE, 0, op, | | new_draw_info_format(NDI_UNIQUE, 0, op, |
"You ready the spell %s", spob->name); | | "You ready the spell %s", spob->name); |
} | | } |