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

Comparing deliantra/server/common/living.C (file contents):
Revision 1.10 by root, Tue Sep 12 02:06:19 2006 UTC vs.
Revision 1.11 by root, Thu Sep 14 21:16:11 2006 UTC

686drain_specific_stat (object *op, int deplete_stats) 686drain_specific_stat (object *op, int deplete_stats)
687{ 687{
688 object *tmp; 688 object *tmp;
689 archetype *at; 689 archetype *at;
690 690
691 at = find_archetype (ARCH_DEPLETION); 691 at = archetype::find (ARCH_DEPLETION);
692 if (!at) 692 if (!at)
693 { 693 {
694 LOG (llevError, "Couldn't find archetype depletion.\n"); 694 LOG (llevError, "Couldn't find archetype depletion.\n");
695 return; 695 return;
696 } 696 }
720{ 720{
721 object *tmp; 721 object *tmp;
722 archetype *at; 722 archetype *at;
723 int new_luck; 723 int new_luck;
724 724
725 at = find_archetype ("luck"); 725 at = archetype::find ("luck");
726 if (!at) 726 if (!at)
727 LOG (llevError, "Couldn't find archetype luck.\n"); 727 LOG (llevError, "Couldn't find archetype luck.\n");
728 else 728 else
729 { 729 {
730 tmp = present_arch_in_ob (at, op); 730 tmp = present_arch_in_ob (at, op);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines