version 1.57 | | version 1.58 |
---|
| | |
/* | | /* |
* static char *rcsid_shop_c = | | * static char *rcsid_shop_c = |
* "$Id: shop.c,v 1.57 2006/09/04 07:21:05 mwedel Exp $"; | | * "$Id: shop.c,v 1.58 2006/09/06 21:58:00 lalo Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if (extra_gain > 0) | | if (extra_gain > 0) |
change_exp(pl,extra_gain/10,"bargaining",SK_EXP_NONE); | | change_exp(pl,extra_gain/10,"bargaining",SK_EXP_NONE); |
| | |
for (count=0; coins[count]!=NULL; count++) { | | for (count=LARGEST_COIN_GIVEN; coins[count]!=NULL; count++) { |
at = find_archetype(coins[count]); | | at = find_archetype(coins[count]); |
if (at==NULL) LOG(llevError, "Could not find %s archetype\n", coins[count]); | | if (at==NULL) LOG(llevError, "Could not find %s archetype\n", coins[count]); |
else if ((i/at->clone.value) > 0) { | | else if ((i/at->clone.value) > 0) { |