projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Checkpoint with several changes, committed so Stas can play with debug code.
[super-star-trek.git]
/
src
/
reports.c
diff --git
a/src/reports.c
b/src/reports.c
index 22a7cee19eafa012f2036e438a03ea27d75402fd..bca27e40d50cf516410dae564c37c5ffb2387e9f 100644
(file)
--- a/
src/reports.c
+++ b/
src/reports.c
@@
-316,8
+316,8
@@
static void status(int req)
break;
case 10:
if (game.options & OPTION_WORLDS) {
break;
case 10:
if (game.options & OPTION_WORLDS) {
-
planet *
here = game.state.galaxy[game.quadrant.x][game.quadrant.y].planet;
- if (here
&& here->
inhabited != UNINHABITED)
+
int
here = game.state.galaxy[game.quadrant.x][game.quadrant.y].planet;
+ if (here
!= NOPLANET && game.state.plnets[here].
inhabited != UNINHABITED)
proutn("Major system %s", systemname(here));
else
proutn("Sector is uninhabited");
proutn("Major system %s", systemname(here));
else
proutn("Sector is uninhabited");