| version 1.32 | | version 1.33 |
|---|
| | |
| /* | | /* |
| * static char *rcsid_shop_c = | | * static char *rcsid_shop_c = |
| * "$Id: shop.c,v 1.32 2004/08/24 19:43:59 akirschbaum Exp $"; | | * "$Id: shop.c,v 1.33 2005/01/07 12:00:01 akirschbaum Exp $"; |
| */ | | */ |
| | | |
| /* | | /* |
| | |
| * pay_from_container function. | | * pay_from_container function. |
| * returns 0 if not possible. 1 if success | | * returns 0 if not possible. 1 if success |
| */ | | */ |
| int pay_for_amount(int to_pay,object *pl) { | | int pay_for_amount(uint64 to_pay,object *pl) { |
| object *pouch; | | object *pouch; |
| | | |
| if (to_pay==0) return 1; | | if (to_pay==0) return 1; |