version 1.4 | | version 1.5 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.4 2000/12/06 06:06:38 cvs Exp $"; | | * "$Id: player.c,v 1.5 2001/02/01 06:18:48 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* is an unapplied tool. Lets search entire inventory */ | | * is an unapplied tool. Lets search entire inventory */ |
for (tmp=op->inv;tmp;tmp=tmp->below) { | | for (tmp=op->inv;tmp;tmp=tmp->below) { |
if(tmp->type==SKILL&&tmp->stats.sp==skillnr) { | | if(tmp->type==SKILL&&tmp->stats.sp==skillnr) { |
if (tmp->invisible) return tmp; | | if (!tmp->invisible) return tmp; |
else skill1=tmp; | | else skill1=tmp; |
} | | } |
} | | } |