mirror of
				https://github.com/Laupetin/OpenAssetTools.git
				synced 2025-10-31 10:36:58 +00:00 
			
		
		
		
	fix: referencing files in cwd without dot slash
This commit is contained in:
		| @@ -543,7 +543,10 @@ class LinkerImpl final : public Linker | ||||
|                 return false; | ||||
|             } | ||||
|  | ||||
|             auto absoluteZoneDirectory = absolute(std::filesystem::path(zonePath).remove_filename()).string(); | ||||
|             auto zoneDirectory = fs::path(zonePath).remove_filename(); | ||||
|             if (zoneDirectory.empty()) | ||||
|                 zoneDirectory = fs::current_path(); | ||||
|             auto absoluteZoneDirectory = absolute(zoneDirectory).string(); | ||||
|  | ||||
|             auto zone = std::unique_ptr<Zone>(ZoneLoading::LoadZone(zonePath)); | ||||
|             if (zone == nullptr) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user