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:
parent
6c3cd116ff
commit
844379d679
3 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ turn_see(bool turn_off)
|
|||
if (!can_see)
|
||||
{
|
||||
standend();
|
||||
add_new++;
|
||||
add_new = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ read_scroll(void)
|
|||
* otherwise give up
|
||||
*/
|
||||
{
|
||||
register bool appear = 0;
|
||||
register int appear = 0;
|
||||
coord mp;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue