mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
fixed a bug while saving/loading INVERSE maps
This commit is contained in:
parent
4fc6b8edb5
commit
dcda11d740
@ -430,7 +430,7 @@ namespace mapstream {
|
||||
char nbtype = char(variation);
|
||||
f.write(nbtype);
|
||||
#if CAP_GP
|
||||
if(GOLDBERG) {
|
||||
if(GOLDBERG || INVERSE) {
|
||||
f.write(gp::param.first);
|
||||
f.write(gp::param.second);
|
||||
}
|
||||
@ -489,7 +489,7 @@ namespace mapstream {
|
||||
f.read(nbtype);
|
||||
variation = eVariation(nbtype);
|
||||
#if CAP_GP
|
||||
if(GOLDBERG) {
|
||||
if(GOLDBERG || INVERSE) {
|
||||
f.read(gp::param.first);
|
||||
f.read(gp::param.second);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user