projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Confine use of STATE_NOTFOUND to macros.
[open-adventure.git]
/
main.c
diff --git
a/main.c
b/main.c
index 196a4ed571c9524ba6b36610f281131ebcdd1e65..b90056c5e04f83bbddd700c3bc85a4d51e3c9f7d 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-859,8
+859,8
@@
static bool closecheck(void)
* objects come from known locations and/or states (e.g. the
* snake is known to have been destroyed and needn't be
* carried away from its old "place"), making the various
* objects come from known locations and/or states (e.g. the
* snake is known to have been destroyed and needn't be
* carried away from its old "place"), making the various
- * objects be handled differently. We also drop all other
- * objects he might be
ca
rrying (lest he have some which
+ * objects be handled differently. We also drop all other
+ * objects he might be
ac
rrying (lest he have some which
* could cause trouble, such as the keys). We describe the
* flash of light and trundle back. */
put(BOTTLE, LOC_NE, EMPTY_BOTTLE);
* could cause trouble, such as the keys). We describe the
* flash of light and trundle back. */
put(BOTTLE, LOC_NE, EMPTY_BOTTLE);
@@
-868,7
+868,7
@@
static bool closecheck(void)
put(OYSTER, LOC_NE, STATE_FOUND);
put(LAMP, LOC_NE, LAMP_DARK);
put(ROD, LOC_NE, STATE_FOUND);
put(OYSTER, LOC_NE, STATE_FOUND);
put(LAMP, LOC_NE, LAMP_DARK);
put(ROD, LOC_NE, STATE_FOUND);
- put(DWARF, LOC_NE,
0
);
+ put(DWARF, LOC_NE,
STATE_FOUND
);
game.loc = LOC_NE;
game.oldloc = LOC_NE;
game.newloc = LOC_NE;
game.loc = LOC_NE;
game.oldloc = LOC_NE;
game.newloc = LOC_NE;