diff --git a/rogue4/passages.c b/rogue4/passages.c index f9d82dc..148d46b 100644 --- a/rogue4/passages.c +++ b/rogue4/passages.c @@ -329,7 +329,7 @@ passnum(void) for (rp = rooms; rp < &rooms[MAXROOMS]; rp++) for (i = 0; i < rp->r_nexits; i++) { - newpnum++; + newpnum = TRUE; numpass(rp->r_exit[i].y, rp->r_exit[i].x); } } diff --git a/rogue4/potions.c b/rogue4/potions.c index 158dfb6..7927751 100644 --- a/rogue4/potions.c +++ b/rogue4/potions.c @@ -246,7 +246,7 @@ turn_see(bool turn_off) if (!can_see) { standend(); - add_new++; + add_new = TRUE; } } } diff --git a/rogue4/scrolls.c b/rogue4/scrolls.c index def132b..d6752e6 100644 --- a/rogue4/scrolls.c +++ b/rogue4/scrolls.c @@ -90,7 +90,7 @@ read_scroll(void) * otherwise give up */ { - register bool appear = 0; + register int appear = 0; coord mp; /*