Difference for server/gods.c from version 1.38 to 1.39


version 1.38 version 1.39
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_gods_c =   * static char *rcsid_gods_c =
  *   "$Id: gods.c,v 1.38 2003/11/10 05:39:50 mwedel Exp $";   *   "$Id: gods.c,v 1.39 2004/02/08 17:07:08 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 376
 
Line 376
     object *old_god = NULL;                      /* old god */      object *old_god = NULL;                      /* old god */
     treasure *tr;      treasure *tr;
     object *item, *skop, *next;      object *item, *skop, *next;
     int i;      int i,sk_applied;
          
     old_god = find_god(determine_god(op));      old_god = find_god(determine_god(op));
          
Line 440
 
Line 440
  skop = give_skill_by_name(op, get_archetype_by_type_subtype(SKILL, SK_PRAYING)->clone.skill);   skop = give_skill_by_name(op, get_archetype_by_type_subtype(SKILL, SK_PRAYING)->clone.skill);
     }      }
   
    sk_applied=QUERY_FLAG(skop,FLAG_APPLIED); /* save skill status */
   
     if(skop->title) { /* get rid of old god */       if(skop->title) { /* get rid of old god */
  new_draw_info_format(NDI_UNIQUE,0,op,   new_draw_info_format(NDI_UNIQUE,0,op,
         "%s's blessing is withdrawn from you.",skop->title);          "%s's blessing is withdrawn from you.",skop->title);
  /* The point of this is to really show what abilities the player just lost */   /* The point of this is to really show what abilities the player just lost */
  if (QUERY_FLAG(skop, FLAG_APPLIED)) {   if (sk_applied) {
      CLEAR_FLAG(skop,FLAG_APPLIED);        CLEAR_FLAG(skop,FLAG_APPLIED);
      (void) change_abil(op,skop);       (void) change_abil(op,skop);
  }   }
Line 502
 
Line 504
  stop_using_item(op,SHIELD,1);   stop_using_item(op,SHIELD,1);
     }      }
   
 /*    SET_FLAG(skop,FLAG_APPLIED);*/      SET_FLAG(skop,FLAG_APPLIED);
     (void) change_abil(op,skop);      (void) change_abil(op,skop);
   
    /* return to previous skill status */
    if (!sk_applied) CLEAR_FLAG(skop,FLAG_APPLIED);
   
     check_special_prayers (op, new_god);      check_special_prayers (op, new_god);
 }  }
   


Legend:
line(s) removed in v.1.38 
line(s) changed
 line(s) added in v.1.39

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:33