projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up more booleans.
[super-star-trek.git]
/
src
/
sst.c
diff --git
a/src/sst.c
b/src/sst.c
index 9d5a20c1d6cf6a7a3f56718022a38611c6777cf6..16199e6df68ccb8acd5fd54b1fcf2ab7e4b7f966 100644
(file)
--- a/
src/sst.c
+++ b/
src/sst.c
@@
-175,7
+175,7
@@
static char line[128], *linep = line;
struct game game;
coord thing;
struct game game;
coord thing;
-
int
iqhere, iqengry;
+
bool
iqhere, iqengry;
int iscore, iskill; // Common PLAQ
double aaitem;
double perdate;
int iscore, iskill; // Common PLAQ
double aaitem;
double perdate;
@@
-409,7
+409,7
@@
static void makemoves(void)
makechart();
continue;
}
makechart();
continue;
}
- game.ididit
=0
;
+ game.ididit
= false
;
clrscr();
setwnd(message_window);
clrscr();
clrscr();
setwnd(message_window);
clrscr();
@@
-531,7
+531,7
@@
static void makemoves(void)
abandn();
break;
case DESTRUCT: // Self Destruct
abandn();
break;
case DESTRUCT: // Self Destruct
-
dstr
ct();
+
selfdestru
ct();
break;
case SAVE: // Save Game
freeze(false);
break;
case SAVE: // Save Game
freeze(false);