… | |
… | |
523 | op->head = 0; |
523 | op->head = 0; |
524 | op->more = 0; |
524 | op->more = 0; |
525 | op = next; |
525 | op = next; |
526 | } |
526 | } |
527 | |
527 | |
|
|
528 | op->destroy_inv (false); |
528 | at->destroy (); |
529 | at->destroy (true); |
529 | at->arch = 0; |
530 | at->arch = 0; |
530 | } |
531 | } |
531 | } |
532 | } |
532 | while (--cnt); |
533 | while (--cnt); |
533 | } |
534 | } |
… | |
… | |
552 | LOG (llevError | logBacktrace, "FATAL: creating singularity for '%s'.\n", name); |
553 | LOG (llevError | logBacktrace, "FATAL: creating singularity for '%s'.\n", name); |
553 | |
554 | |
554 | if (!strcmp (name, "bug")) |
555 | if (!strcmp (name, "bug")) |
555 | abort (); |
556 | abort (); |
556 | |
557 | |
557 | object *op = archetype::get ("bug"); |
558 | object *op = archetype::get (shstr_bug); |
558 | op->name = op->name_pl = format ("bug, please report (missing archetype %s)", name); |
559 | op->name = op->name_pl = format ("bug, please report (missing archetype %s)", name); |
559 | |
560 | |
560 | return op; |
561 | return op; |
561 | } |
562 | } |
562 | |
563 | |