1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 03:54:47 +00:00

changed slow_side to the default as it turns out to be incompatible with branch skipping

This commit is contained in:
Zeno Rogue 2021-12-29 04:20:58 +01:00
parent e190fc63a7
commit 014e995ef1

View File

@ -1141,7 +1141,7 @@ int get_sidecache(twalker what) {
int get_side(twalker what) { int get_side(twalker what) {
bool side = !(flags & w_no_sidecache); bool side = !(flags & w_no_sidecache);
bool fast = !(flags & w_slow_side); bool fast = (flags & w_slow_side);
if(side) { if(side) {
auto w = get_sidecache(what); auto w = get_sidecache(what);
@ -1905,7 +1905,7 @@ EX void rules_iteration() {
qbranches++; qbranches++;
} }
if(qbranches == 2) double_live_branches++; if(qbranches == 2) double_live_branches++;
if(first_live_branch == last_live_branch && treestates[id].is_root) { if((flags & w_slow_side) && first_live_branch == last_live_branch && treestates[id].is_root) {
if(debugflags & DF_GEOM) if(debugflags & DF_GEOM)
println(hlog, "for id ", id, " we have a single live branch"); println(hlog, "for id ", id, " we have a single live branch");
single_live_branches++; single_live_branches++;