From: Eric S. Raymond Date: Fri, 7 Apr 2023 11:35:28 +0000 (-0400) Subject: Boolification. X-Git-Tag: 1.16~22 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=4369284c75828ca78e7ab7ad3dfe732d3538c132;p=open-adventure.git Boolification. --- diff --git a/advent.h b/advent.h index 70c0c68..1162106 100644 --- a/advent.h +++ b/advent.h @@ -190,8 +190,8 @@ struct game_t { loc_t fixed[NOBJECTS + 1]; // fixed location of object (if not IS_FREE) obj_t link[NOBJECTS * 2 + 1];// object-list links loc_t place[NOBJECTS + 1]; // location of object - int hinted[NHINTS]; // hinted[i] = true iff hint i has been used. - int hintlc[NHINTS]; // hintlc[i] = how int at LOC with cond bit i + bool hinted[NHINTS]; // hinted[i] = true iff hint i has been used. + int hintlc[NHINTS]; // hintlc[i] = show int at LOC with cond bit i int prop[NOBJECTS + 1]; // object state array */ };