Difference for server/spell_effect.c from version 1.91 to 1.92


version 1.91 version 1.92
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_spell_effect_c =   * static char *rcsid_spell_effect_c =
  *   "$Id: spell_effect.c,v 1.91 2003/01/15 07:18:06 mwedel Exp $";   *   "$Id: spell_effect.c,v 1.92 2003/01/23 07:38:44 mwedel Exp $";
  */   */
   
   
Line 1321
 
Line 1321
  * spaces that blocked the players view.   * spaces that blocked the players view.
  */   */
   
  for(dist=1; dist <= maxdist; dist++)   for(dist=1; dist < maxdist; dist++)
      if (get_map_flags(op->map, NULL,        if (get_map_flags(op->map, NULL,
        op->x+freearr_x[dir] * dist,          op->x+freearr_x[dir] * dist,
        op->y+freearr_y[dir] * dist,         op->y+freearr_y[dir] * dist,
Line 1337
 
Line 1337
      if ((get_map_flags(op->map,NULL,        if ((get_map_flags(op->map,NULL,
        op->x+freearr_x[dir]*dist,         op->x+freearr_x[dir]*dist,
        op->y+freearr_y[dir]*dist,         op->y+freearr_y[dir]*dist,
        NULL, NULL) & P_BLOCKED) ==0)          NULL, NULL) & (P_BLOCKED | P_OUT_OF_MAP)) ==0)
  break;   break;
   
  if(!dist) {   if(!dist) {


Legend:
line(s) removed in v.1.91 
line(s) changed
 line(s) added in v.1.92

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