version 1.14 | | version 1.15 |
---|
| | |
/* | | /* |
* static char *rcsid_shop_c = | | * static char *rcsid_shop_c = |
* "$Id: shop.c,v 1.14 2002/07/15 04:57:13 mwedel Exp $"; | | * "$Id: shop.c,v 1.15 2002/11/13 04:57:32 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
to_pay = pay_from_container(NULL, pouch, to_pay); | | to_pay = pay_from_container(NULL, pouch, to_pay); |
} | | } |
} | | } |
| | |
#ifndef REAL_WIZ | | |
if(QUERY_FLAG(pl,FLAG_WAS_WIZ)) | | |
SET_FLAG(op, FLAG_WAS_WIZ); | | |
#endif | | |
fix_player(pl); | | fix_player(pl); |
return 1; | | return 1; |
} | | } |
| | |
to_pay = pay_from_container(op, pouch, to_pay); | | to_pay = pay_from_container(op, pouch, to_pay); |
} | | } |
} | | } |
| | if (settings.real_wiz == FALSE && QUERY_FLAG(pl, FLAG_WAS_WIZ)) |
#ifndef REAL_WIZ | | |
if(QUERY_FLAG(pl,FLAG_WAS_WIZ)) | | |
SET_FLAG(op, FLAG_WAS_WIZ); | | SET_FLAG(op, FLAG_WAS_WIZ); |
#endif | | |
fix_player(pl); | | fix_player(pl); |
return 1; | | return 1; |
} | | } |