diff rogue4/scrolls.c @ 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 1b73a8641b37
children
line wrap: on
line diff
--- a/rogue4/scrolls.c	Wed Apr 14 18:55:33 2021 -0400
+++ b/rogue4/scrolls.c	Thu Apr 15 20:55:34 2021 -0400
@@ -90,7 +90,7 @@
 	     * otherwise give up
 	     */
 	    {
-		register bool appear = 0;
+		register int appear = 0;
 		coord mp;
 
 		/*