X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=inline;f=src%2Fevents.c;h=7e5c411d511013cff951cdebd9ab2d4fc50139ef;hb=4acfd92e4eadf66c2bc3786c4ea688c2fe8d0139;hp=072c2e6d95a2b39e56b58caf8dc466fedbe6bc91;hpb=cbb2d987e8c23c6c25bd441fdef5401d5a89289e;p=super-star-trek.git diff --git a/src/events.c b/src/events.c index 072c2e6..7e5c411 100644 --- a/src/events.c +++ b/src/events.c @@ -434,10 +434,10 @@ void events(void) /* try a whole bunch of times to find something suitable */ i = 100; do { - /* need a quadrant which is not the current one, - which has some stars which are inhabited and - not already under attack, which is not - supernova'ed, and which has some Klingons in it */ + // need a quadrant which is not the current one, + // which has some stars which are inhabited and + // not already under attack, which is not + // supernova'ed, and which has some Klingons in it w = randplace(GALSIZE); q = &game.state.galaxy[w.x][w.y]; } while (--i && @@ -488,10 +488,8 @@ void events(void) } break; case FREPRO: /* Klingon reproduces */ - /* - * If we ever switch to a real event queue, we'll need to - * explicitly retrieve and restore the x and y. - */ + // If we ever switch to a real event queue, we'll need to + // explicitly retrieve and restore the x and y. ev = schedule(FREPRO, expran(1.0 * game.intime)); /* see if current distress call still active */ q = &game.state.galaxy[ev->quadrant.x][ev->quadrant.y];