mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	mapeditor saves color_formula
This commit is contained in:
		| @@ -136,6 +136,7 @@ namespace mapstream { | ||||
|     f.write(patterns::whichCanvas); | ||||
|     f.write(patterns::displaycodes); | ||||
|     f.write(mapeditor::drawplayer); | ||||
|     if(patterns::whichCanvas == 'f') f.write(patterns::color_formula); | ||||
|      | ||||
|     { | ||||
|     int i = ittypes; f.write(i); | ||||
| @@ -304,6 +305,7 @@ namespace mapstream { | ||||
|       f.read(patterns::whichCanvas); | ||||
|       f.read(patterns::displaycodes); | ||||
|       f.read(mapeditor::drawplayer); | ||||
|       if(patterns::whichCanvas == 'f') f.read(patterns::color_formula); | ||||
|        | ||||
|       int i; | ||||
|       f.read(i); if(i > ittypes || i < 0) throw hstream_exception(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue