mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Use DIR_DELIM instead of / in file paths
This commit is contained in:
		@@ -101,9 +101,9 @@ SubgameSpec findSubgame(const std::string &id)
 | 
			
		||||
	std::string menuoverlay_path;
 | 
			
		||||
	std::string menuicon_path;
 | 
			
		||||
#ifndef SERVER
 | 
			
		||||
	menubackground_path = getImagePath(game_path + DIR_DELIM + "menu/background.png");
 | 
			
		||||
	menuoverlay_path = getImagePath(game_path + DIR_DELIM + "menu/overlay.png");
 | 
			
		||||
	menuicon_path = getImagePath(game_path + DIR_DELIM + "menu/icon.png");
 | 
			
		||||
	menubackground_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "background.png");
 | 
			
		||||
	menuoverlay_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "overlay.png");
 | 
			
		||||
	menuicon_path = getImagePath(game_path + DIR_DELIM + "menu" + DIR_DELIM + "icon.png");
 | 
			
		||||
#endif
 | 
			
		||||
	return SubgameSpec(id, game_path, gamemod_path, mods_paths, game_name,
 | 
			
		||||
			menubackground_path, menuoverlay_path, menuicon_path);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user