Difference for common/los.c from version 1.3 to 1.4


version 1.3 version 1.4
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_los_c =   * static char *rcsid_los_c =
  *   "$Id: los.c,v 1.3 2001/06/04 06:41:02 mwedel Exp $";   *   "$Id: los.c,v 1.4 2001/06/13 06:16:53 mwedel Exp $";
  */   */
   
 /*  /*
Line 559
 
Line 559
     for(x=darklevel-5; x<6-darklevel; x++)      for(x=darklevel-5; x<6-darklevel; x++)
  for(y=darklevel-5; y<6-darklevel; y++)   for(y=darklevel-5; y<6-darklevel; y++)
      if(!(op->contr->blocked_los[x+op->contr->socket.mapx/2][y+op->contr->socket.mapy/2]==100))       if(!(op->contr->blocked_los[x+op->contr->socket.mapx/2][y+op->contr->socket.mapy/2]==100))
  op->contr->blocked_los[x+op->contr->socket.mapx/2][y+op->contr->socket.mapx/2]-= MAX(0,6 -darklevel - MAX(abs(x),abs(y)));    op->contr->blocked_los[x+op->contr->socket.mapx/2][y+op->contr->socket.mapy/2]-=
        MAX(0,6 -darklevel - MAX(abs(x),abs(y)));
 }  }
   
 /* blinded_sight() - sets all veiwable squares to blocked except   /* blinded_sight() - sets all veiwable squares to blocked except


Legend:
line(s) removed in v.1.3 
line(s) changed
 line(s) added in v.1.4

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