Difference for server/spell_effect.c from version 1.66 to 1.67


version 1.66 version 1.67
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.66 2001/11/27 04:33:46 michtoen Exp $";   *   "$Id: spell_effect.c,v 1.67 2001/12/03 07:51:46 mwedel Exp $";
  */   */
   
   
Line 1245
 
Line 1245
   
      remove_ob(op);       remove_ob(op);
      op->x=x,op->y=y;       op->x=x,op->y=y;
      if ((op = insert_ob_in_map(op,op->map,op,0)) != NULL)       if ((op = insert_ob_in_map(op,op->map,op,0)) != NULL) {
          draw(op);   /* I believe that currently, this will always be true as
    * only players can use dimension door, but might as
    * well be safe.  comment out call to draw - the main
    * update loop will figure it out.
    */
    if( op->type == PLAYER)
        MapNewmapCmd(op->contr);
   /*         draw(op);*/
        }
      return 1;       return 1;
  }   }
     } else { /* Player didn't specify a distance, so lets see how far      } else { /* Player didn't specify a distance, so lets see how far
Line 1275
 
Line 1283
     op->x+=freearr_x[dir]*dist,op->y+=freearr_y[dir]*dist;      op->x+=freearr_x[dir]*dist,op->y+=freearr_y[dir]*dist;
     if ((op = insert_ob_in_map(op,op->map,op,0)) == NULL)      if ((op = insert_ob_in_map(op,op->map,op,0)) == NULL)
         return 1;          return 1;
     draw(op);  
       if( op->type == PLAYER)
    MapNewmapCmd(op->contr);
   /*    draw(op);*/
     op->speed_left= -FABS(op->speed)*5; /* Freeze them for a short while */      op->speed_left= -FABS(op->speed)*5; /* Freeze them for a short while */
     return 1;      return 1;
 }  }


Legend:
line(s) removed in v.1.66 
line(s) changed
 line(s) added in v.1.67

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