(scuttle_tradeships): calculate ally percentage before ally bonus is applied.

Change to match the description in the info page.
This commit is contained in:
Ron Koenderink 2004-12-05 14:14:19 +00:00
parent 233f93303c
commit 098f7202b1

View file

@ -90,8 +90,8 @@ scuttle_tradeship(struct shpstr *sp, int interactive)
cash *= (((float)sp->shp_effic) / 100.0);
if (sect.sct_own != sp->shp_own) {
cash *= (1.0 + trade_ally_bonus);
ally_cash = cash * trade_ally_cut;
cash *= (1.0 + trade_ally_bonus);
}
}