version 1.16 | | version 1.17 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.16 2001/03/22 06:45:05 mwedel Exp $"; | | * "$Id: c_object.c,v 1.17 2001/03/23 07:42:40 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
| | |
tmp->x = op->x; | | tmp->x = op->x; |
tmp->y = op->y; | | tmp->y = op->y; |
| | |
| | esrv_del_item (op->contr, tmp->count); |
insert_ob_in_map(tmp, op->map, op); | | insert_ob_in_map(tmp, op->map, op); |
| | |
| | |
SET_FLAG (op, FLAG_NO_APPLY); | | SET_FLAG (op, FLAG_NO_APPLY); |
remove_ob(op); | | remove_ob(op); |
insert_ob_in_map_simple(op, op->map); | | insert_ob_in_map_simple(op, op->map); |
| | |
/* in object.c */ | | /* in object.c */ |
| | |
| | |
esrv_send_item (op, tmp); | | op->contr->socket.update_look = 1; |
| | /* esrv_send_item (op, tmp);*/ |
/* Need to update the weight for the player */ | | /* Need to update the weight for the player */ |
esrv_send_item (op, op); | | esrv_send_item (op, op); |
| | |