mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-29 14:13:11 +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() {
|
EX modecode_t legacy_modecode() {
|
||||||
if(int(geometry) > 3 || int(variation) > 1) return UNKNOWN;
|
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
|
// compute the old code
|
||||||
int xcode = 0;
|
int xcode = 0;
|
||||||
|
|
||||||
|
@ -1069,7 +1069,7 @@ char xcheat;
|
|||||||
void save_mode_data(hstream& f) {
|
void save_mode_data(hstream& f) {
|
||||||
mapstream::save_geometry(f);
|
mapstream::save_geometry(f);
|
||||||
|
|
||||||
if(yendor::on)
|
if(yendor::on || tactic::on)
|
||||||
f.write<char>(0);
|
f.write<char>(0);
|
||||||
else
|
else
|
||||||
f.write<char>(land_structure);
|
f.write<char>(land_structure);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user