Remove unnecessary code duplication.
[open-adventure.git] / advent.h
index 4188b1707d22616dfddb8e144ed1e3ae5184d29f..fa87028c966fb7e38d799906dda50dae6b25d8b8 100644 (file)
--- a/advent.h
+++ b/advent.h
  *
  * PROP_STASHED is supposed to map a state property value to a
  * negative range, where the object cannot be picked up but the value
- * can be recovered later.  Various objects get this peoperty when
+ * can be recovered later.  Various objects get this property when
  * the cave starts to close. On;y seems to be signifucant for the bird 
  * and readable objects, notably the clam/oyster - but the code around
- * those test is difficult to read. */
+ * those test is difficult to read.
+ */
 #define PROP_STASHIFY(n)       (-1 - (n))
 #define PROP_IS_STASHED(obj)   (game.objects[obj].prop < STATE_NOTFOUND)
 #define PROP_IS_NOTFOUND(obj)  (game.objects[obj].prop == STATE_NOTFOUND)
@@ -248,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
 };