mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 23:49:53 +00:00
irr:: improved the wall rate
This commit is contained in:
parent
bbf32af738
commit
c52f8e94d2
@ -980,6 +980,7 @@ bool horo_ok() {
|
|||||||
|
|
||||||
bool gp_wall_test() {
|
bool gp_wall_test() {
|
||||||
if(gp::on) return hrand(gp::dist_3()) == 0;
|
if(gp::on) return hrand(gp::dist_3()) == 0;
|
||||||
|
if(irr::on) return hrand(irr::cellcount * 3) < isize(irr::cells_of_heptagon);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user