diff rogue4/potions.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 696277507a2e
children
line wrap: on
line diff
--- a/rogue4/potions.c	Wed Apr 14 18:55:33 2021 -0400
+++ b/rogue4/potions.c	Thu Apr 15 20:55:34 2021 -0400
@@ -246,7 +246,7 @@
 	    if (!can_see)
 	    {
 		standend();
-		add_new++;
+		add_new = TRUE;
 	    }
 	}
     }