mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	create a fake info for an unknown princess
This commit is contained in:
		| @@ -528,7 +528,7 @@ struct info { | |||||||
|    |    | ||||||
|   EX int reviveAt; |   EX int reviveAt; | ||||||
|    |    | ||||||
|   vector<info*> infos; |   EX vector<info*> infos; | ||||||
|    |    | ||||||
|   void assign(info *i) { |   void assign(info *i) { | ||||||
|     if(i->alt) i->alt->emeraldval = i->id; |     if(i->alt) i->alt->emeraldval = i->id; | ||||||
| @@ -667,6 +667,7 @@ struct info { | |||||||
|       printf("Warning: unknown princess\n");  |       printf("Warning: unknown princess\n");  | ||||||
|       if(!cheater)  |       if(!cheater)  | ||||||
|         addMessage("Warning: unknown princess (that's a bug, please report)"); |         addMessage("Warning: unknown princess (that's a bug, please report)"); | ||||||
|  |       newFakeInfo(ct); | ||||||
|       } |       } | ||||||
|     else { |     else { | ||||||
|       changes.value_keep(*i); |       changes.value_keep(*i); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue