version 1.103 | | version 1.104 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.103 2004/04/22 21:55:07 ryo_saeba Exp $"; | | * "$Id: apply.c,v 1.104 2004/04/25 07:17:40 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
rv = teleport (shop_mat, SHOP_MAT, op); | | rv = teleport (shop_mat, SHOP_MAT, op); |
} | | } |
/* immediate block below is only used for players */ | | /* immediate block below is only used for players */ |
else if (get_payment (op)) { | | else if (get_payment (op, op->inv)) { |
rv = teleport (shop_mat, SHOP_MAT, op); | | rv = teleport (shop_mat, SHOP_MAT, op); |
if (shop_mat->msg) { | | if (shop_mat->msg) { |
new_draw_info (NDI_UNIQUE, 0, op, shop_mat->msg); | | new_draw_info (NDI_UNIQUE, 0, op, shop_mat->msg); |