Remove ++ from bool

This commit is contained in:
jl777
2019-02-02 08:13:22 -11:00
parent 7c6b1856d3
commit 9281de5d77
2 changed files with 3 additions and 3 deletions

View File

@@ -373,7 +373,7 @@ passnum()
for (rp = rooms; rp < &rooms[MAXROOMS]; rp++) for (rp = rooms; rp < &rooms[MAXROOMS]; rp++)
for (i = 0; i < rp->r_nexits; i++) for (i = 0; i < rp->r_nexits; i++)
{ {
newpnum++; newpnum ^= 1;//newpnum++;
numpass(rp->r_exit[i].y, rp->r_exit[i].x); numpass(rp->r_exit[i].y, rp->r_exit[i].x);
} }
} }

View File

@@ -293,8 +293,8 @@ turn_see(bool turn_off)
addch(rnd(26) + 'A'); addch(rnd(26) + 'A');
if (!can_see) if (!can_see)
{ {
standend(); standend();
add_new++; add_new ^= 1;//add_new++;
} }
} }
} }