mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed overzealous cache clearing
This commit is contained in:
		| @@ -587,8 +587,10 @@ EX void find_new_shortcuts(tcell *c, int d, tcell *alt, int newdir, int delta) { | |||||||
|   } |   } | ||||||
|  |  | ||||||
| EX void remove_parentdir(tcell *c) { | EX void remove_parentdir(tcell *c) { | ||||||
|   clear_sidecache_and_codes(); |   if(c->parent_dir != MYSTERY) { | ||||||
|   if(c->parent_dir) c->old_parent_dir = c->parent_dir; |     clear_sidecache_and_codes(); | ||||||
|  |     c->old_parent_dir = c->parent_dir; | ||||||
|  |     } | ||||||
|   c->parent_dir = MYSTERY; |   c->parent_dir = MYSTERY; | ||||||
|   c->code = MYSTERY_LARGE; |   c->code = MYSTERY_LARGE; | ||||||
|   for(int i=0; i<c->type; i++) if(c->move(i)) { |   for(int i=0; i<c->type; i++) if(c->move(i)) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue