mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	ads:: do not load earth textures if already loaded
This commit is contained in:
		| @@ -24,6 +24,7 @@ void reset_textures() { | |||||||
|   } |   } | ||||||
|  |  | ||||||
| void init_textures() { | void init_textures() { | ||||||
|  |   if(!earth_textures.empty()) return; | ||||||
|   earth_textures.clear(); |   earth_textures.clear(); | ||||||
|   string dir = "ds-images/"; |   string dir = "ds-images/"; | ||||||
|   fhstream f(dir + "list.txt", "rt"); |   fhstream f(dir + "list.txt", "rt"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue