version 1.29 | | version 1.30 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.29 2001/01/09 23:50:37 avogl Exp $"; | | * "$Id: apply.c,v 1.30 2001/01/24 05:01:37 cvs Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if(op->env!=who) | | if(op->env!=who) |
return 1; /* op is not in inventory */ | | return 1; /* op is not in inventory */ |
| | |
| | buf[0]='\0'; /* Needs to be initialized */ |
if (QUERY_FLAG(op,FLAG_APPLIED)) { | | if (QUERY_FLAG(op,FLAG_APPLIED)) { |
/* always apply, so no reason to unapply */ | | /* always apply, so no reason to unapply */ |
if (basic_flag == AP_APPLY) return 0; | | if (basic_flag == AP_APPLY) return 0; |