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.69 by root, Tue Sep 4 18:20:35 2007 UTC vs.
Revision 1.70 by root, Tue Oct 16 00:30:24 2007 UTC

516 op->instantiate (); 516 op->instantiate ();
517 517
518 return op; 518 return op;
519} 519}
520 520
521object *
522archetype::instance ()
523{
524 return arch_to_object (this);
525}
526
521/* 527/*
522 * Creates an object. This function is called by get_archetype() 528 * Creates an object. This function is called by get_archetype()
523 * if it fails to find the appropriate archetype. 529 * if it fails to find the appropriate archetype.
524 * Thus get_archetype() will be guaranteed to always return 530 * Thus get_archetype() will be guaranteed to always return
525 * an object, and never NULL. 531 * an object, and never NULL.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines