Mercurial > hg > early-roguelike
changeset 305:3900f3cfe07d
Rogue V4: fix arithmetic operations on boolean variables.
Monsters created by scrolls should now have their placement randomized
correctly again.
author | John "Elwin" Edwards |
---|---|
date | Thu, 15 Apr 2021 20:55:34 -0400 |
parents | e52a8a7ad4c5 |
children | 057c5114e244 |
files | rogue4/passages.c rogue4/potions.c rogue4/scrolls.c |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/rogue4/passages.c Wed Apr 14 18:55:33 2021 -0400 +++ b/rogue4/passages.c Thu Apr 15 20:55:34 2021 -0400 @@ -329,7 +329,7 @@ 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); } }