version 1.23 | | version 1.24 |
---|
| | |
/* | | /* |
* static char *rcsid_utils_c = | | * static char *rcsid_utils_c = |
* "$Id: utils.c,v 1.23 2006/02/09 00:48:36 akirschbaum Exp $"; | | * "$Id: utils.c,v 1.24 2006/03/14 14:41:00 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
return; | | return; |
| | |
mt = name_to_material(op->materialname); | | mt = name_to_material(op->materialname); |
| | if (!mt) { |
| | LOG(llevError, "archetype '%s>%s' uses nonexistent material '%s'\n", op->arch->name, op->name, op->materialname); |
| | return; |
| | } |
| | |
for (j=0; j < NROFATTACKS; j++) | | for (j=0; j < NROFATTACKS; j++) |
if (op->resist[j] == 0 && change->resist[j] != 0) { | | if (op->resist[j] == 0 && change->resist[j] != 0) { |