From 655cc1a8b5dff25157844953d65250c32c86da36 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 31 May 2021 11:38:51 +0200 Subject: [PATCH] dice:: don't generate any dice if Safety is on --- complex2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/complex2.cpp b/complex2.cpp index be515ea7..b6eb6645 100644 --- a/complex2.cpp +++ b/complex2.cpp @@ -1016,6 +1016,7 @@ EX namespace dice { EX void generate_full(cell *c, int hard) { int dp = die_possible(c); if(!dp) return; + if(safety) return; int pct = hrand(100); int pct2 = hrand(6000); if(dp == 4) {