mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 10:44:48 +00:00
Fix Dice Reserve crash in geometries that support d6/d12
This commit is contained in:
parent
8c6aba5f6f
commit
9ac1f2577a
@ -1051,7 +1051,7 @@ EX namespace dice {
|
||||
c->wall = (pct < (items[itOrbLuck] ? 9 : 11)) ? waRichDie : waHappyDie;
|
||||
generate_specific(c, &d6, 1, 2);
|
||||
}
|
||||
if(pct2 < 40 + hard) {
|
||||
else if(pct2 < 40 + hard) {
|
||||
c->monst = moAnimatedDie;
|
||||
generate_specific(c, &d6, 0, 99);
|
||||
}
|
||||
@ -1062,7 +1062,7 @@ EX namespace dice {
|
||||
c->wall = (pct < (items[itOrbLuck] ? 9 : 11)) ? waRichDie : waHappyDie;
|
||||
generate_specific(c, &d12, 2, 3);
|
||||
}
|
||||
if(pct2 < 40 + hard) {
|
||||
else if(pct2 < 40 + hard) {
|
||||
c->monst = moAnimatedDie;
|
||||
generate_specific(c, &d12, 0, 99);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user