mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
save compatibility: field quotient configured
This commit is contained in:
parent
9529ee6bbb
commit
021f99aafa
@ -320,7 +320,16 @@ namespace mapstream {
|
||||
f.read(quotient_field_changed);
|
||||
if(quotient_field_changed) {
|
||||
f.read(current_extra);
|
||||
f.read(fgeomextras[current_extra].current_prime_id);
|
||||
auto& ge = fgeomextras[current_extra];
|
||||
auto& id = ge.current_prime_id;
|
||||
f.read(id);
|
||||
if(VERNUM_HEX < 0xA80C) switch(ge.base) {
|
||||
case gNormal: id++; break;
|
||||
case g45: id++; break;
|
||||
case g46: id+=2; break;
|
||||
case g47: id++; break;
|
||||
default: ;
|
||||
}
|
||||
enableFieldChange();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user