mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
dice:: don't generate any dice if Safety is on
This commit is contained in:
parent
7f15f3b46f
commit
655cc1a8b5
@ -1016,6 +1016,7 @@ EX namespace dice {
|
|||||||
EX void generate_full(cell *c, int hard) {
|
EX void generate_full(cell *c, int hard) {
|
||||||
int dp = die_possible(c);
|
int dp = die_possible(c);
|
||||||
if(!dp) return;
|
if(!dp) return;
|
||||||
|
if(safety) return;
|
||||||
int pct = hrand(100);
|
int pct = hrand(100);
|
||||||
int pct2 = hrand(6000);
|
int pct2 = hrand(6000);
|
||||||
if(dp == 4) {
|
if(dp == 4) {
|
||||||
|
Loading…
Reference in New Issue
Block a user