version 1.66 | | version 1.67 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.66 2006/05/21 12:50:17 akirschbaum Exp $"; | | * "$Id: treasure.c,v 1.67 2006/07/02 15:32:34 tchize Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
op = insert_ob_in_ob (op, creator); | | op = insert_ob_in_ob (op, creator); |
if ((flags & GT_APPLY) && QUERY_FLAG (creator, FLAG_MONSTER)) | | if ((flags & GT_APPLY) && QUERY_FLAG (creator, FLAG_MONSTER)) |
monster_check_apply(creator, op); | | monster_check_apply(creator, op); |
if ((flags & GT_UPDATE_INV) && (tmp = is_player_inv (creator)) != NULL) | | if ((flags & GT_UPDATE_INV) && (tmp = get_player_container (creator)) != NULL) |
esrv_send_item(tmp, op); | | esrv_send_item(tmp, op); |
} | | } |
} | | } |