mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
fixed modecodes for yendor and tactic despite the ls change
This commit is contained in:
parent
8f91990de6
commit
a4fda1b843
@ -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;
|
||||
|
||||
|
@ -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<char>(0);
|
||||
else
|
||||
f.write<char>(land_structure);
|
||||
|
Loading…
Reference in New Issue
Block a user