projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adbb5c1
)
Remove unnecessary code duplication.
author
Eric S. Raymond
<esr@thyrsus.com>
Mon, 17 Apr 2023 11:06:56 +0000
(07:06 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 17 Apr 2023 11:06:56 +0000
(07:06 -0400)
advent.h
patch
|
blob
|
history
diff --git
a/advent.h
b/advent.h
index 946fcae266de938cdbddbe10ebbe25f4a377c3e1..fa87028c966fb7e38d799906dda50dae6b25d8b8 100644
(file)
--- a/
advent.h
+++ b/
advent.h
@@
-249,11
+249,7
@@
struct game_t {
} objects[NOBJECTS + 1];
struct {
bool used; // hints[i].used = true iff hint i has been used.
-#ifndef FOUNDBOOL
int lc; // hints[i].lc = show int at LOC with cond bit i
-#else
- int lc; // hints[i].lc = show int at LOC with cond bit i
-#endif
} hints[NHINTS];
obj_t link[NOBJECTS * 2 + 1];// object-list links
};