version 1.8 | | version 1.9 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.8 2000/06/21 09:34:56 jec Exp $"; | | * "$Id: c_object.c,v 1.9 2000/06/28 04:53:58 cvs Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
for (tmp=op->inv; tmp; tmp=next) { | | for (tmp=op->inv; tmp; tmp=next) { |
next=tmp->below; | | next=tmp->below; |
if (QUERY_FLAG(tmp,FLAG_NO_DROP) || | | if (QUERY_FLAG(tmp,FLAG_NO_DROP) || |
!tmp->invisible) continue; | | tmp->invisible) continue; |
if (item_matched_string(op,tmp,params)) { | | if (item_matched_string(op,tmp,params)) { |
drop(op, tmp); | | drop(op, tmp); |
did_one=1; | | did_one=1; |