version 1.88 | | version 1.89 |
---|
| | |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: object.c,v 1.88 2004/06/11 06:12:57 mwedel Exp $"; | | * "$Id: object.c,v 1.89 2004/06/13 17:30:21 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
op->nrof -= i; | | op->nrof -= i; |
if (tmp) { | | if (tmp) { |
(*esrv_send_item_func) (tmp, op); | | (*esrv_send_item_func) (tmp, op); |
(*esrv_update_item_func) (UPD_WEIGHT, tmp, tmp); | | |
} | | } |
} else { | | } else { |
remove_ob (op); | | remove_ob (op); |
op->nrof = 0; | | op->nrof = 0; |
if (tmp) { | | if (tmp) { |
(*esrv_del_item_func) (tmp->contr, op->count); | | (*esrv_del_item_func) (tmp->contr, op->count); |
(*esrv_update_item_func) (UPD_WEIGHT, tmp, tmp); | | |
} | | } |
} | | } |
} | | } |