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.85 by root, Mon Sep 29 10:32:50 2008 UTC

440 return new_head; 440 return new_head;
441 } 441 }
442 442
443fail: 443fail:
444 for (auto (p, parts.begin ()); p != parts.end (); ++p) 444 for (auto (p, parts.begin ()); p != parts.end (); ++p)
445 (*p)->destroy (true); 445 (*p)->destroy ();
446 446
447 return 0; 447 return 0;
448} 448}
449 449
450void 450void
552 LOG (llevError | logBacktrace, "FATAL: creating singularity for '%s'.\n", name); 552 LOG (llevError | logBacktrace, "FATAL: creating singularity for '%s'.\n", name);
553 553
554 if (!strcmp (name, "bug")) 554 if (!strcmp (name, "bug"))
555 abort (); 555 abort ();
556 556
557 object *op = archetype::get ("bug"); 557 object *op = archetype::get (shstr_bug);
558 op->name = op->name_pl = format ("bug, please report (missing archetype %s)", name); 558 op->name = op->name_pl = format ("bug, please report (missing archetype %s)", name);
559 559
560 return op; 560 return op;
561} 561}
562 562

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines