projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ca9de45
)
Fix game type parsing.
author
Eric S. Raymond
<esr@thyrsus.com>
Tue, 12 Sep 2006 17:28:40 +0000
(17:28 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Tue, 12 Sep 2006 17:28:40 +0000
(17:28 +0000)
setup.c
patch
|
blob
|
history
diff --git
a/setup.c
b/setup.c
index 9bf6a2590a15f0d7b77dd7dfa395e4c851828806..8499184ad3d28cbad893732f1a83508c5118dc96 100644
(file)
--- a/
setup.c
+++ b/
setup.c
@@
-478,14
+478,14
@@
int choose(int needprompt)
game.options &=~ (OPTION_THOLIAN | OPTION_PLANETS | OPTION_THINGY | OPTION_PROBE | OPTION_RAMMING | OPTION_MVBADDY | OPTION_BLKHOLE | OPTION_BASE);
game.options |= OPTION_PLAIN;
}
game.options &=~ (OPTION_THOLIAN | OPTION_PLANETS | OPTION_THINGY | OPTION_PROBE | OPTION_RAMMING | OPTION_MVBADDY | OPTION_BLKHOLE | OPTION_BASE);
game.options |= OPTION_PLAIN;
}
- if (isit("almy")) {
+
else
if (isit("almy")) {
// Approximates Tom Almy's version.
game.options &=~ (OPTION_THINGY | OPTION_BLKHOLE | OPTION_BASE);
game.options |= OPTION_ALMY;
}
// Approximates Tom Almy's version.
game.options &=~ (OPTION_THINGY | OPTION_BLKHOLE | OPTION_BASE);
game.options |= OPTION_ALMY;
}
- if (isit("fancy"))
+
else
if (isit("fancy"))
/* do nothing */;
/* do nothing */;
- if (strlen(citem)) {
+
else
if (strlen(citem)) {
proutn("What is \"");
proutn(citem);
prout("\"?");
proutn("What is \"");
proutn(citem);
prout("\"?");