Difference for server/skill_util.c from version 1.34 to 1.35


version 1.34 version 1.35
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skill_util_c =   * static char *rcsid_skill_util_c =
  *   "$Id: skill_util.c,v 1.34 2002/12/03 07:40:18 mwedel Exp $";   *   "$Id: skill_util.c,v 1.35 2003/01/08 08:39:21 mwedel Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 203
 
Line 203
       */        */
      for (y=op->y-1; y <= op->y+1; y++) {       for (y=op->y-1; y <= op->y+1; y++) {
  for (x=op->x-1; x <= op->x+1; x++) {   for (x=op->x-1; x <= op->x+1; x++) {
      if (out_of_map(op->map, x, y) || wall(op->map, x, y) ||       if (get_map_flags(op->map, NULL, x, y, NULL, NULL) & (P_OUT_OF_MAP | P_WALL | P_BLOCKSVIEW))
  blocks_view(op->map, x, y))  
  continue;   continue;
      for (tmp=get_map_ob(op->map, x, y); tmp != NULL; tmp=next) {       for (tmp=get_map_ob(op->map, x, y); tmp != NULL; tmp=next) {
  next=tmp->above;   next=tmp->above;


Legend:
line(s) removed in v.1.34 
line(s) changed
 line(s) added in v.1.35

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