diff --git a/legacy.cpp b/legacy.cpp index 3dcbf93d..d872ff3e 100644 --- a/legacy.cpp +++ b/legacy.cpp @@ -204,7 +204,7 @@ int modecodetable[42][6] = { EX modecode_t legacy_modecode() { if(int(geometry) > 3 || int(variation) > 1) return UNKNOWN; - if(!ls::nice_walls() && !ls::std_chaos()) return UNKNOWN; + if(!ls::nice_walls() && !ls::std_chaos() && !yendor::on && !tactic::on) return UNKNOWN; // compute the old code int xcode = 0; diff --git a/yendor.cpp b/yendor.cpp index 029206d0..93b92528 100644 --- a/yendor.cpp +++ b/yendor.cpp @@ -1069,7 +1069,7 @@ char xcheat; void save_mode_data(hstream& f) { mapstream::save_geometry(f); - if(yendor::on) + if(yendor::on || tactic::on) f.write(0); else f.write(land_structure);