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


version 1.35 version 1.36
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skill_util_c =   * static char *rcsid_skill_util_c =
  *   "$Id: skill_util.c,v 1.35 2003/01/08 08:39:21 mwedel Exp $";   *   "$Id: skill_util.c,v 1.36 2003/01/09 04:20:26 garbled Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 201
 
Line 201
      /* first, we try to find a cauldron, and do the alchemy thing.       /* first, we try to find a cauldron, and do the alchemy thing.
       * failing that, we go and identify stuff.         * failing that, we go and identify stuff.
       */        */
      for (y=op->y-1; y <= op->y+1; y++) {       for (tmp=get_map_ob(op->map, op->x, op->y); tmp != NULL;tmp=next) {
  for (x=op->x-1; x <= op->x+1; x++) {  
      if (get_map_flags(op->map, NULL, x, y, NULL, NULL) & (P_OUT_OF_MAP | P_WALL | P_BLOCKSVIEW))  
  continue;  
      for (tmp=get_map_ob(op->map, x, y); tmp != NULL; tmp=next) {  
  next=tmp->above;   next=tmp->above;
  if(QUERY_FLAG(tmp, FLAG_IS_CAULDRON)) {   if(QUERY_FLAG(tmp, FLAG_IS_CAULDRON)) {
      attempt_do_alchemy(op, tmp);       attempt_do_alchemy(op, tmp);
      did_alc=1;       did_alc=1;
      continue;  
  }  
      }  
  }   }
      }       }
      if (did_alc == 0)       if (did_alc == 0)


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

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