projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Follow up on OPTION_SHOWME.
[super-star-trek.git]
/
sst.c
diff --git
a/sst.c
b/sst.c
index 87595a694e8c7670e7e6a82203cec54e10f66abe..c2e02f5be68c6e83537a2ba709fbf5ca954421cf 100644
(file)
--- a/
sst.c
+++ b/
sst.c
@@
-508,9
+508,9
@@
int main(int argc, char **argv)
{
int i, option;
{
int i, option;
- game.options = OPTION_ALL &~
OPTION_IOMODES
;
+ game.options = OPTION_ALL &~
(OPTION_IOMODES | OPTION_SHOWME)
;
if (getenv("TERM"))
if (getenv("TERM"))
- game.options |= OPTION_CURSES;
+ game.options |= OPTION_CURSES
| OPTION_SHOWME
;
else
game.options |= OPTION_TTY;
else
game.options |= OPTION_TTY;
@@
-751,7
+751,6
@@
void debugme(void)
for (i=0; i < NDEVICES; i++)
if (game.damage[i] > 0.0)
game.damage[i] = 0.0;
for (i=0; i < NDEVICES; i++)
if (game.damage[i] > 0.0)
game.damage[i] = 0.0;
- stdamtim = FOREVER;
}
proutn("Toggle idebug? ");
if (ja() != 0) {
}
proutn("Toggle idebug? ");
if (ja() != 0) {
@@
-770,8
+769,6
@@
void debugme(void)
key = scan();
if (key == IHALPHA && isit("y")) {
game.damage[i] = 10.0;
key = scan();
if (key == IHALPHA && isit("y")) {
game.damage[i] = 10.0;
- if (i == DRADIO)
- stdamtim = game.state.date;
}
}
}
}
}
}