version 1.54 | | version 1.55 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.54 2005/07/14 09:18:54 akirschbaum Exp $"; | | * "$Id: treasure.c,v 1.55 2005/07/15 13:51:49 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} else { | | } else { |
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)) |
(void) (*monster_check_apply_func) (creator, op); | | monster_check_apply(creator, op); |
if ((flags & GT_UPDATE_INV) && (tmp = is_player_inv (creator)) != NULL) | | if ((flags & GT_UPDATE_INV) && (tmp = is_player_inv (creator)) != NULL) |
(*esrv_send_item_func) (tmp, op); | | esrv_send_item(tmp, op); |
} | | } |
} | | } |
| | |
| | |
break; | | break; |
| | |
case RUNE: | | case RUNE: |
(*trap_adjust_func)(op,difficulty); | | trap_adjust(op,difficulty); |
break; | | break; |
| | |
case TRAP: | | case TRAP: |
(*trap_adjust_func)(op,difficulty); | | trap_adjust(op,difficulty); |
break; | | break; |
} /* switch type */ | | } /* switch type */ |
| | |