1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

irr:: improved the wall rate

This commit is contained in:
Zeno Rogue 2018-07-18 00:09:39 +02:00
parent bbf32af738
commit c52f8e94d2

View File

@ -980,6 +980,7 @@ bool horo_ok() {
bool gp_wall_test() {
if(gp::on) return hrand(gp::dist_3()) == 0;
if(irr::on) return hrand(irr::cellcount * 3) < isize(irr::cells_of_heptagon);
return true;
}