version 1.3 | | version 1.4 |
---|
| | |
/* | | /* |
* static char *rcsid_c_range_c = | | * static char *rcsid_c_range_c = |
* "$Id: c_range.c,v 1.3 2001/05/29 04:41:53 mwedel Exp $"; | | * "$Id: c_range.c,v 1.4 2001/10/30 00:49:02 michtoen Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if (QUERY_FLAG(op,FLAG_WIZ)) spnum=i; | | if (QUERY_FLAG(op,FLAG_WIZ)) spnum=i; |
else spnum = op->contr->known_spells[i]; | | else spnum = op->contr->known_spells[i]; |
| | |
if (spells[spnum].cleric != cleric) continue; | | if (spells[spnum].cleric != (unsigned) cleric) continue; |
if (params && strncmp(spells[spnum].name,params, strlen(params))) | | if (params && strncmp(spells[spnum].name,params, strlen(params))) |
continue; | | continue; |
if (!first_match) { | | if (!first_match) { |