X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=setup.c;h=1fd47b232f6d3b55102bf19ecb1e1be3a768dc22;hp=fb12ed86bc1e445f30e6971767a593aeb3a66360;hb=0e15d77aa2e0088f1bd917f2f27d170851dbeb56;hpb=760ecf730c119682b414153a629ec2adc224434f diff --git a/setup.c b/setup.c index fb12ed8..1fd47b2 100644 --- a/setup.c +++ b/setup.c @@ -241,7 +241,7 @@ void setup(int needprompt) { for (j=1; j<=GALSIZE; j++) { int k = Rand()*9.0 + 1.0; instar += k; - game.state.galaxy[i][j] = k; + game.state.galaxy[i][j] = k * STAR_PLACE; } // Locate star bases in galaxy for (i = 1; i <= inbase; i++) { @@ -270,7 +270,7 @@ void setup(int needprompt) { game.state.baseqx[i] = ix; game.state.baseqy[i] = iy; - game.starch[ix][iy] = -1; + game.starch[ix][iy] = CHART_UNKNOWN; game.state.galaxy[ix][iy] += BASE_PLACE; } // Position ordinary Klingon Battle Cruisers