X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fevents.c;fp=src%2Fevents.c;h=13ceea0e59b8015c636d23f2fac7c553bcf5cea9;hp=b82aff7caa9b65addeaf47cdb725b20cf5c64722;hb=74121a21cca010c891ef19a178f9b9acf4d473eb;hpb=deed0903c0666e52bab540a39ed99131f4073970 diff --git a/src/events.c b/src/events.c index b82aff7..13ceea0 100644 --- a/src/events.c +++ b/src/events.c @@ -832,7 +832,8 @@ void snova(bool induced, coord *w) stars += game.state.galaxy[nq.x][nq.y].stars; } } - if (stars == 0) return; /* nothing to supernova exists */ + if (stars == 0) + return; /* nothing to supernova exists */ num = Rand()*stars + 1; for_quadrants(nq.x) { for_quadrants(nq.y) {