Rogue V4: fix arithmetic operations on boolean variables.

Monsters created by scrolls should now have their placement randomized
correctly again.
This commit is contained in:
John "Elwin" Edwards 2021-04-15 20:55:34 -04:00
parent 6c3cd116ff
commit 844379d679
3 changed files with 3 additions and 3 deletions

View file

@ -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);
}
}