… | |
… | |
306 | return; |
306 | return; |
307 | |
307 | |
308 | mt = name_to_material (op->materialname); |
308 | mt = name_to_material (op->materialname); |
309 | if (!mt) |
309 | if (!mt) |
310 | { |
310 | { |
311 | LOG (llevError, "archetype '%s>%s' uses nonexistent material '%s'\n", &op->arch->name, &op->name, &op->materialname); |
311 | LOG (llevError, "archetype '%s>%s' uses nonexistent material '%s'\n", &op->arch->archname, &op->name, &op->materialname); |
312 | return; |
312 | return; |
313 | } |
313 | } |
314 | |
314 | |
315 | for (j = 0; j < NROFATTACKS; j++) |
315 | for (j = 0; j < NROFATTACKS; j++) |
316 | if (op->resist[j] == 0 && change->resist[j] != 0) |
316 | if (op->resist[j] == 0 && change->resist[j] != 0) |