version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_c_range_c = | | * static char *rcsid_c_range_c = |
* "$Id: c_range.c,v 1.13 2006/01/01 11:22:04 akirschbaum Exp $"; | | * "$Id: c_range.c,v 1.14 2006/01/09 02:02:45 cavesomething Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
| | |
if(params!=NULL) { | | if(params!=NULL) { |
spob = lookup_spell_by_name(op, params); | | int i = 0; |
| | if (i = atoi(params)) |
| | for (spob = op->inv; spob && spob->count != i; spob=spob->below); |
| | else spob = lookup_spell_by_name(op, params); |
| | |
if (spob) { | | if (spob && spob->type == SPELL) { |
/* Now grab any extra data, if there is any. Forward pass | | /* Now grab any extra data, if there is any. Forward pass |
* any 'of' delimiter | | * any 'of' delimiter |
*/ | | */ |