(fina, repa, shark): Bankers never round down debts!

(repa, coll): Collect interest for the time the debtor is idling at
sub-prompts.
This commit is contained in:
Markus Armbruster 2004-08-20 08:47:00 +00:00
parent e7c9da21e5
commit bcc4a86944
4 changed files with 16 additions and 13 deletions

View file

@ -130,6 +130,7 @@ coll(void)
putsect(&sect);
nreport(player->cnum, N_SEIZE_SECT, loan.l_lonee, 1);
owed = loan_owed(&loan, time(&now));
if (pay >= owed) {
loan.l_ldur = 0;
nreport(loan.l_lonee, N_REPAY_LOAN, player->cnum, 1);