X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=setup.c;fp=setup.c;h=f50f7c41e02acd3333a257470da5cac1e498aace;hp=17c14cf030e59b231e24d6f5e3e8911178650dd7;hb=2c72290cf08d4bb03b3ff26df3a1024c355fbea7;hpb=8f090aed08e0caad138be062abdc4e4beb3e5196 diff --git a/setup.c b/setup.c index 17c14cf..f50f7c4 100644 --- a/setup.c +++ b/setup.c @@ -469,7 +469,7 @@ int choose(int needprompt) // Use parameters to generate initial values of things damfac = 0.5 * skill; - game.state.rembase = 3.0*Rand()+2.0; + game.state.rembase = 2.0 + Rand()*(MAXBASES-2.0); inbase = game.state.rembase; if (game.options & OPTION_PLANETS) inplan = (PLNETMAX/2) + (PLNETMAX/2+1)*Rand();