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.57 by root, Thu Apr 19 19:24:25 2007 UTC vs.
Revision 1.58 by root, Sat Apr 21 11:55:36 2007 UTC

526} 526}
527 527
528archetype * 528archetype *
529archetype::get (const char *name) 529archetype::get (const char *name)
530{ 530{
531 if (!name)
532 {
533 LOG (llevError, "null archetype requested\n");
534 name = "(null)";
535 }
536
531 archetype *at = find (name); 537 archetype *at = find (name);
532 538
533 if (!at) 539 if (!at)
534 { 540 {
535 archetypes.push_back (at = new archetype); 541 archetypes.push_back (at = new archetype);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines