version 1.43 | | version 1.44 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.43 2002/12/03 07:40:17 mwedel Exp $"; | | * "$Id: c_object.c,v 1.44 2003/01/27 07:34:34 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
new_draw_info(NDI_UNIQUE, 0,op,buf); | | new_draw_info(NDI_UNIQUE, 0,op,buf); |
} | | } |
| | |
if(tmp->value&&!QUERY_FLAG(tmp, FLAG_STARTEQUIP)) { | | if(tmp->value && !QUERY_FLAG(tmp, FLAG_STARTEQUIP) && !QUERY_FLAG(tmp, FLAG_NO_PICK)) { |
if(QUERY_FLAG(tmp, FLAG_UNPAID)) | | if(QUERY_FLAG(tmp, FLAG_UNPAID)) |
sprintf(buf,"%s would cost you %s.", | | sprintf(buf,"%s would cost you %s.", |
tmp->nrof>1?"They":"It",query_cost_string(tmp,op,F_BUY)); | | tmp->nrof>1?"They":"It",query_cost_string(tmp,op,F_BUY)); |
else | | else |
sprintf(buf,"You would get %s for the %s.", | | sprintf(buf,"You would get %s for %s.", |
query_cost_string(tmp,op,F_SELL), tmp->nrof>1?"them":"it"); | | query_cost_string(tmp,op,F_SELL), tmp->nrof>1?"them":"it"); |
new_draw_info(NDI_UNIQUE, 0,op,buf); | | new_draw_info(NDI_UNIQUE, 0,op,buf); |
} | | } |