mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	Merge pull request #360 from jlmjlm/oofishfix
Record Orb of Fish in savefile.
This commit is contained in:
		| @@ -443,7 +443,7 @@ EX namespace scores { | ||||
| /** \brief the amount of boxes reserved for each hr::score item */ | ||||
| #define MAXBOX 500 | ||||
| /** \brief currently used boxes in hr::score */ | ||||
| #define POSSCORE 408 | ||||
| #define POSSCORE 410 | ||||
| /** \brief a struct to keep local score from an earlier game */ | ||||
| struct score { | ||||
|   /** \brief version used */ | ||||
| @@ -941,6 +941,9 @@ EX void applyBoxes() { | ||||
|   applyBoxEnum(bow::weapon, "weapon choice"); | ||||
|   applyBoxEnum(bow::style, "crossbow style"); | ||||
|  | ||||
|   applyBoxOrb(itOrbFish); | ||||
|   list_invorb(); | ||||
|  | ||||
|   if(POSSCORE != boxid) printf("ERROR: %d boxes\n", boxid); | ||||
|   if(isize(invorb)) { println(hlog, "ERROR: Orbs not taken into account"); exit(1); } | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue