Difference for server/spell_effect.c from version 1.45 to 1.46


version 1.45 version 1.46
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.45 2001/03/19 07:58:10 mwedel Exp $";   *   "$Id: spell_effect.c,v 1.46 2001/03/21 06:03:57 mwedel Exp $";
  */   */
   
   
Line 1158
 
Line 1158
   int i;    int i;
      
   /* if dir = 99 op defaults to tmp, eat_special_food() requires this. */    /* if dir = 99 op defaults to tmp, eat_special_food() requires this. */
   if(dir!=99)    if(dir!=99) {
       if (spell_type == SP_CURSE) {
    tmp=get_pointed_target(op, (dir==0)?op->direction:dir);
    if (!tmp) {
        new_draw_info(NDI_UNIQUE, 0, op, "There is no one in that direction to curse.");
    }
       } else {
      tmp=find_target_for_friendly_spell(op,dir);       tmp=find_target_for_friendly_spell(op,dir);
       }
     }
   
   if(tmp==NULL) return 0;    if(tmp==NULL) return 0;
      


Legend:
line(s) removed in v.1.45 
line(s) changed
 line(s) added in v.1.46

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