(powe): Do not round totals for deity countries.
This commit is contained in:
parent
aebdf80864
commit
bca00f35f5
1 changed files with 13 additions and 13 deletions
|
@ -177,20 +177,20 @@ powe(void)
|
||||||
pr(" ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----\n");
|
pr(" ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----\n");
|
||||||
getpower(0, &pow);
|
getpower(0, &pow);
|
||||||
pr("worldwide");
|
pr("worldwide");
|
||||||
out5(pow.p_sects, 5, 1);
|
out5(pow.p_sects, 5, !player->god);
|
||||||
pr("%4.0f%%", pow.p_effic / (pow.p_sects + 0.1));
|
pr("%4.0f%%", pow.p_effic / (pow.p_sects + 0.1));
|
||||||
out5(pow.p_civil, 50, 1);
|
out5(pow.p_civil, 50, !player->god);
|
||||||
out5(pow.p_milit, 50, 1);
|
out5(pow.p_milit, 50, !player->god);
|
||||||
out5(pow.p_shell, 25, 1);
|
out5(pow.p_shell, 25, !player->god);
|
||||||
out5(pow.p_guns, 5, 1);
|
out5(pow.p_guns, 5, !player->god);
|
||||||
out5(pow.p_petrol, 50, 1);
|
out5(pow.p_petrol, 50, !player->god);
|
||||||
out5(pow.p_iron, 50, 1);
|
out5(pow.p_iron, 50, !player->god);
|
||||||
out5(pow.p_dust, 50, 1);
|
out5(pow.p_dust, 50, !player->god);
|
||||||
out5(pow.p_oil, 50, 1);
|
out5(pow.p_oil, 50, !player->god);
|
||||||
out5(pow.p_planes, 10, 1);
|
out5(pow.p_planes, 10, !player->god);
|
||||||
out5(pow.p_ships, 10, 1);
|
out5(pow.p_ships, 10, !player->god);
|
||||||
out5(pow.p_units, 10, 1);
|
out5(pow.p_units, 10, !player->god);
|
||||||
out5(pow.p_money, 5000, 1);
|
out5(pow.p_money, 5000, !player->god);
|
||||||
pr("\n");
|
pr("\n");
|
||||||
}
|
}
|
||||||
return RET_OK;
|
return RET_OK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue