1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 06:50:27 +00:00

dice:: don't generate any dice if Safety is on

This commit is contained in:
Zeno Rogue 2021-05-31 11:38:51 +02:00
parent 7f15f3b46f
commit 655cc1a8b5

View File

@ -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) {