ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/arch.C
(Generate patch)

Comparing deliantra/server/common/arch.C (file contents):
Revision 1.81 by root, Sat May 17 00:17:02 2008 UTC vs.
Revision 1.83 by root, Mon Sep 29 10:20:48 2008 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines