Difference for common/los.c from version 1.9 to 1.10


version 1.9 version 1.10
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_los_c =   * static char *rcsid_los_c =
  *   "$Id: los.c,v 1.9 2003/01/08 08:39:17 mwedel Exp $";   *   "$Id: los.c,v 1.10 2003/04/02 08:12:53 mwedel Exp $";
  */   */
   
 /*  /*
Line 225
 
Line 225
   
     if(get_map_flags(op->map, NULL,       if(get_map_flags(op->map, NULL,
  op->x + x - MAP_CLIENT_X/2, op->y + y - MAP_CLIENT_Y/2,    op->x + x - MAP_CLIENT_X/2, op->y + y - MAP_CLIENT_Y/2,
  NULL, NULL) & P_BLOCKSVIEW)   NULL, NULL) & (P_BLOCKSVIEW | P_OUT_OF_MAP))
  set_wall(op,x,y);   set_wall(op,x,y);
 }  }
   
Line 261
 
Line 261
          !(get_map_flags(op->map,NULL,            !(get_map_flags(op->map,NULL,
  op->x-op->contr->socket.mapx/2+x,   op->x-op->contr->socket.mapx/2+x,
  op->y-op->contr->socket.mapy/2+y,   op->y-op->contr->socket.mapy/2+y,
  NULL, NULL) & P_BLOCKSVIEW)) {   NULL, NULL) & (P_BLOCKSVIEW | P_OUT_OF_MAP))) {
   
  for(i=1;i<=8;i+=1) { /* mark all directions */   for(i=1;i<=8;i+=1) { /* mark all directions */
      dx = x + freearr_x[i];       dx = x + freearr_x[i];


Legend:
line(s) removed in v.1.9 
line(s) changed
 line(s) added in v.1.10

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