From cab3980c94be48f5d6c551cbafeef2984fbb9aa0 Mon Sep 17 00:00:00 2001 From: Walace Date: Tue, 8 Apr 2025 16:50:01 -0300 Subject: [PATCH] Fix typo in CClientPlayerClothes::AddClothingModel --- Client/mods/deathmatch/logic/CClientPlayerClothes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/mods/deathmatch/logic/CClientPlayerClothes.cpp b/Client/mods/deathmatch/logic/CClientPlayerClothes.cpp index 43b99d2748d..789eab812d8 100644 --- a/Client/mods/deathmatch/logic/CClientPlayerClothes.cpp +++ b/Client/mods/deathmatch/logic/CClientPlayerClothes.cpp @@ -407,7 +407,7 @@ bool CClientPlayerClothes::AddClothingModel(const char* texture, const char* mod if (!g_pGame->GetRenderWare()->HasClothesFile(textureFile.c_str())) return false; - std::string modelFile = std::string(texture) + ".dff"; + std::string modelFile = std::string(model) + ".dff"; if (!g_pGame->GetRenderWare()->HasClothesFile(modelFile.c_str())) return false;