Difference for common/player.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_player_c =   * static char *rcsid_player_c =
  *   "$Id: player.c,v 1.6 2001/02/27 03:41:25 mwedel Exp $";   *   "$Id: player.c,v 1.7 2001/06/29 05:59:46 mwedel Exp $";
  */   */
   
 /*  /*
Line 113
 
Line 113
   
 object *find_skill(object *op, int skillnr) {  object *find_skill(object *op, int skillnr) {
     object *tmp, *skill1=NULL;      object *tmp, *skill1=NULL;
 #ifdef LINKED_SKILL_LIST  
   objectlink *obl;  
   
   if(op->sk_list!=NULL) {   /* use fast method */   
      for(obl=op->sk_list;obl;obl=obl->next)   
          if(obl->id==skillnr&&obl->ob) return obl->ob;  
   }   
 #endif  
   
     /* *sigh*; we didnt find it. Perhaps because the skill we requested      /* *sigh*; we didnt find it. Perhaps because the skill we requested
      * is an unapplied tool. Lets search entire inventory */       * is an unapplied tool. Lets search entire inventory */


Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7

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