(ship_grow_scale, plane_grow_scale, land_grow_scale): Change from int

to float.  This allows more control of the max. efficiency gain, and
makes it similiar to ship_mob_scale etc.  Closes #1025600.
This commit is contained in:
Ron Koenderink 2005-04-05 03:00:35 +00:00
parent 44d59b5d17
commit 9f27f5b02a
6 changed files with 15 additions and 15 deletions

View file

@ -133,9 +133,9 @@ vers(void)
(int)(plane_mob_scale * (float)etu_per_update),
(int)(land_mob_scale * (float)etu_per_update));
pr("Max eff gain per update\t\t--\t%d\t%d\t%d\n",
min(ship_grow_scale * etu_per_update, 100),
min(plane_grow_scale * etu_per_update, 100),
min(land_grow_scale * etu_per_update, 100));
min((int)(ship_grow_scale * (float)etu_per_update), 100),
min((int)(plane_grow_scale * (float)etu_per_update), 100),
min((int)(land_grow_scale * (float)etu_per_update), 100));
pr("\n");
pr("Ships on autonavigation may use %i cargo holds per ship.\n", TMAX);
if (opt_TRADESHIPS) {