Difference for server/spell_effect.c from version 1.128 to 1.129


version 1.128 version 1.129
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.128 2005/07/16 21:10:40 akirschbaum Exp $";   *   "$Id: spell_effect.c,v 1.129 2005/07/19 20:59:34 ryo_saeba Exp $";
  */   */
   
   
Line 734
 
Line 734
     if(op->type!=PLAYER)      if(op->type!=PLAYER)
  return 0;   return 0;
   
     dummy=get_archetype("force");      dummy=get_archetype(FORCE_NAME);
     if(dummy == NULL){      if(dummy == NULL){
  new_draw_info(NDI_UNIQUE, 0,op,"Oops, program error!");   new_draw_info(NDI_UNIQUE, 0,op,"Oops, program error!");
  LOG(llevError,"cast_word_of_recall: get_archetype(force) failed!\n");   LOG(llevError,"cast_word_of_recall: get_archetype(force) failed!\n");
Line 1472
 
Line 1472
  }   }
     }      }
     if(force==NULL) {      if(force==NULL) {
  force=get_archetype("force");   force=get_archetype(FORCE_NAME);
  force->subtype = FORCE_CHANGE_ABILITY;   force->subtype = FORCE_CHANGE_ABILITY;
  free_string(force->name);   free_string(force->name);
  if (spell_ob->race)    if (spell_ob->race)
Line 1587
 
Line 1587
  }   }
     }      }
     if(force==NULL) {      if(force==NULL) {
  force=get_archetype("force");   force=get_archetype(FORCE_NAME);
  force->subtype = FORCE_CHANGE_ABILITY;   force->subtype = FORCE_CHANGE_ABILITY;
  free_string(force->name);   free_string(force->name);
  if (spell_ob->race)    if (spell_ob->race)


Legend:
line(s) removed in v.1.128 
line(s) changed
 line(s) added in v.1.129

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