From 739fd97e35beff706b5f712720064befbf4d60e0 Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Thu, 28 Sep 2023 00:53:40 -0400 Subject: [PATCH] Fixed wad converter --- Nuake/src/Scene/Systems/WadConverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nuake/src/Scene/Systems/WadConverter.cpp b/Nuake/src/Scene/Systems/WadConverter.cpp index d17635ef..d98d33ae 100644 --- a/Nuake/src/Scene/Systems/WadConverter.cpp +++ b/Nuake/src/Scene/Systems/WadConverter.cpp @@ -351,7 +351,7 @@ namespace Nuake ConvertedTextures = std::vector(); - auto pathSplits = String::Split(std::string(wadPath.begin(), wadPath.end() - 4), '\\'); + auto pathSplits = String::Split(std::string(wadPath.begin(), wadPath.end() - 4), '/'); WadName = pathSplits[std::size(pathSplits) - 1]; TargetDirectory = "/textures/" + WadName + "/";