… | |
… | |
2909 | op->stats.hp = op->stats.maxhp; |
2909 | op->stats.hp = op->stats.maxhp; |
2910 | op->stats.sp = MAX (op->stats.sp, op->stats.maxsp); |
2910 | op->stats.sp = MAX (op->stats.sp, op->stats.maxsp); |
2911 | op->stats.grace = MAX (op->stats.grace, op->stats.maxgrace); |
2911 | op->stats.grace = MAX (op->stats.grace, op->stats.maxgrace); |
2912 | |
2912 | |
2913 | /* |
2913 | /* |
2914 | * Check to see if the player is in a shop. IF so, then check to see if |
|
|
2915 | * the player has any unpaid items. If so, remove them and put them back |
2914 | * Check to see if the player has any unpaid items. If so, remove them |
2916 | * in the map. |
2915 | * and put them back in the map. |
2917 | */ |
2916 | */ |
2918 | |
|
|
2919 | if (is_in_shop (op)) |
|
|
2920 | remove_unpaid_objects (op->inv, op); |
2917 | remove_unpaid_objects (op->inv, op); |
2921 | |
2918 | |
2922 | /****************************************/ |
2919 | /****************************************/ |
2923 | /* */ |
2920 | /* */ |
2924 | /* Move player to his current respawn- */ |
2921 | /* Move player to his current respawn- */ |
2925 | /* position (usually last savebed) */ |
2922 | /* position (usually last savebed) */ |