version 1.203 | | version 1.204 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.203 2006/09/04 07:21:05 mwedel Exp $"; | | * "$Id: player.c,v 1.204 2006/09/10 00:04:35 qal21 Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* the player has any unpaid items. If so, remove them and put them back | | * the player has any unpaid items. If so, remove them and put them back |
* in the map. | | * in the map. |
*/ | | */ |
| | if (is_in_shop(op)) |
for (tmp= get_map_ob(op->map, op->x, op->y); tmp; tmp=tmp->above) { | | |
if (tmp->type == SHOP_FLOOR) { | | |
remove_unpaid_objects(op->inv, op); | | remove_unpaid_objects(op->inv, op); |
break; | | |
} | | |
} | | |
| | |
| | |
/****************************************/ | | /****************************************/ |
/* */ | | /* */ |