Difference for server/spell_effect.c from version 1.95 to 1.96


version 1.95 version 1.96
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.95 2003/02/03 07:23:48 mwedel Exp $";   *   "$Id: spell_effect.c,v 1.96 2003/02/16 05:54:28 mwedel Exp $";
  */   */
   
   
Line 1235
 
Line 1235
   
     mflags = get_map_flags(m, &m, x, y, &x, &y);      mflags = get_map_flags(m, &m, x, y, &x, &y);
   
     if (!(mflags & P_OUT_OF_MAP) && (mflags & P_IS_ALIVE)) {      if (mflags & P_OUT_OF_MAP) {
    new_draw_info(NDI_UNIQUE, 0,op,"Nothing is there.");
    return 0;
       }
   
       if (mflags & P_IS_ALIVE) {
  for(target=get_map_ob(m,x,y);target;target=target->above)   for(target=get_map_ob(m,x,y);target;target=target->above)
      if(QUERY_FLAG(target,FLAG_MONSTER)) {       if(QUERY_FLAG(target,FLAG_MONSTER)) {
  /* oky doky. got a target monster. Lets make a blinding attack */   /* oky doky. got a target monster. Lets make a blinding attack */


Legend:
line(s) removed in v.1.95 
line(s) changed
 line(s) added in v.1.96

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