version 1.19 | | version 1.20 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.19 2001/04/06 05:25:26 mwedel Exp $"; | | * "$Id: c_object.c,v 1.20 2001/04/08 02:59:06 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if ( ! can_pick (op, tmp)) | | if ( ! can_pick (op, tmp)) |
goto leave; | | goto leave; |
| | |
if (op->type==PLAYER) | | if (op->type==PLAYER) { |
count=op->contr->count; | | count=op->contr->count; |
| | if (count==0) count = tmp->nrof; |
| | } |
else | | else |
count=tmp->nrof; | | count=tmp->nrof; |
| | |