projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More elimination of FORTAN-style if statements.
[super-star-trek.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index b82aff7caa9b65addeaf47cdb725b20cf5c64722..13ceea0e59b8015c636d23f2fac7c553bcf5cea9 100644
(file)
--- 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) {