fixed a bug while saving/loading INVERSE maps

This commit is contained in:
Zeno Rogue 2020-07-28 13:18:06 +02:00
parent 4fc6b8edb5
commit dcda11d740
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}