Difference for server/spell_effect.c from version 1.41 to 1.42


version 1.41 version 1.42
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.41 2001/01/30 05:06:00 peterm Exp $";   *   "$Id: spell_effect.c,v 1.42 2001/03/07 07:24:30 mwedel Exp $";
  */   */
   
   
Line 3002
 
Line 3002
     }      }
    
     for(tmp=op->below;tmp;tmp=tmp->below) {      for(tmp=op->below;tmp;tmp=tmp->below) {
         if(tmp->type==HOLY_ALTAR) {  
      if(QUERY_FLAG(tmp,FLAG_IS_FLOOR)) break;       if(QUERY_FLAG(tmp,FLAG_IS_FLOOR)) break;
           if(tmp->type==HOLY_ALTAR) {
   
      /* We use SK_level here instead of path_level mod because I think       /* We use SK_level here instead of path_level mod because I think
       * all the gods should give equal chance of re-consecrating altars        * all the gods should give equal chance of re-consecrating altars
       */        */
      if(tmp->level > SK_level(op)) {       if(tmp->level > SK_level(op)) {
  new_draw_info_format(NDI_UNIQUE, 0,op,   new_draw_info_format(NDI_UNIQUE, 0,op,
      "You are not poweful enough to reconsecrate the altar of %s", tmp->title);       "You are not poweful enough to reconsecrate the %s", tmp->name);
    return 0;
      } else {       } else {
      /* If we got here, we are consecrating an altar */       /* If we got here, we are consecrating an altar */
  if(tmp->name) free_string(tmp->name);   if(tmp->name) free_string(tmp->name);


Legend:
line(s) removed in v.1.41 
line(s) changed
 line(s) added in v.1.42

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