mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-29 21:13:00 +00:00 
			
		
		
		
	fixed a bug while saving/loading INVERSE maps
This commit is contained in:
		| @@ -430,7 +430,7 @@ namespace mapstream { | |||||||
|     char nbtype = char(variation); |     char nbtype = char(variation); | ||||||
|     f.write(nbtype); |     f.write(nbtype); | ||||||
|     #if CAP_GP |     #if CAP_GP | ||||||
|     if(GOLDBERG) { |     if(GOLDBERG || INVERSE) { | ||||||
|       f.write(gp::param.first); |       f.write(gp::param.first); | ||||||
|       f.write(gp::param.second); |       f.write(gp::param.second); | ||||||
|       } |       } | ||||||
| @@ -489,7 +489,7 @@ namespace mapstream { | |||||||
|     f.read(nbtype); |     f.read(nbtype); | ||||||
|     variation = eVariation(nbtype); |     variation = eVariation(nbtype); | ||||||
|     #if CAP_GP |     #if CAP_GP | ||||||
|     if(GOLDBERG) { |     if(GOLDBERG || INVERSE) { | ||||||
|       f.read(gp::param.first); |       f.read(gp::param.first); | ||||||
|       f.read(gp::param.second); |       f.read(gp::param.second); | ||||||
|       } |       } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue