Difference for server/skill_util.c from version 1.65 to 1.66


version 1.65 version 1.66
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_skill_util_c =   * static char *rcsid_skill_util_c =
  *   "$Id: skill_util.c,v 1.65 2006/05/05 09:26:35 ryo_saeba Exp $";   *   "$Id: skill_util.c,v 1.66 2006/05/26 22:29:07 akirschbaum Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 966
 
Line 966
  if (mflags & P_OUT_OF_MAP) return 0;   if (mflags & P_OUT_OF_MAP) return 0;
   
  /* space must be blocked for there to be anything interesting to do */   /* space must be blocked for there to be anything interesting to do */
  if (!OB_TYPE_MOVE_BLOCK(pl, GET_MAP_MOVE_BLOCK(m, tx,ty))) return 0;   if (!(mflags&P_IS_ALIVE)
    && !OB_TYPE_MOVE_BLOCK(pl, GET_MAP_MOVE_BLOCK(m, tx, ty))) {
        return 0;
    }
   
  for(tmp=get_map_ob(m, tx, ty); tmp; tmp=tmp->above)   for(tmp=get_map_ob(m, tx, ty); tmp; tmp=tmp->above)
      if((QUERY_FLAG(tmp,FLAG_ALIVE) && tmp->stats.hp>=0)       if((QUERY_FLAG(tmp,FLAG_ALIVE) && tmp->stats.hp>=0)


Legend:
line(s) removed in v.1.65 
line(s) changed
 line(s) added in v.1.66

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