- do iran(GALSIZE, &ix, &iy);
- while (game.state.galaxy[ix][iy].supernova || game.state.galaxy[ix][iy].klingons > 8);
- game.state.kscmdr.x = ix;
- game.state.kscmdr.y = iy;
- game.state.galaxy[ix][iy].klingons++;
+ do w = iran(GALSIZE);
+ while (game.state.galaxy[w.x][w.y].supernova || game.state.galaxy[w.x][w.y].klingons > 8);
+ game.state.kscmdr = w;
+ game.state.galaxy[w.x][w.y].klingons++;