version 1.191 | | version 1.192 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.191 2006/02/07 07:54:46 mwedel Exp $"; | | * "$Id: player.c,v 1.192 2006/02/09 01:51:55 cavesomething Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
free_object(op); | | free_object(op); |
continue; | | continue; |
} | | } |
if(op->type==SKILL) { | | else if(op->type==SKILL) { |
SET_FLAG(op, FLAG_CAN_USE_SKILL); | | SET_FLAG(op, FLAG_CAN_USE_SKILL); |
op->stats.exp = 0; | | op->stats.exp = 0; |
op->level = 1; | | op->level = 1; |
} | | } |
| | /* lock all 'normal items by default */ |
| | else SET_FLAG(op, FLAG_INV_LOCKED); |
} /* for loop of objects in player inv */ | | } /* for loop of objects in player inv */ |
| | |
/* Need to set up the skill pointers */ | | /* Need to set up the skill pointers */ |