Skip to content

Commit 8e8a21b

Browse files
authored
Fix typo in CClientPlayerClothes::AddClothingModel (#4150)
1 parent 8261950 commit 8e8a21b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/CClientPlayerClothes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ bool CClientPlayerClothes::AddClothingModel(const char* texture, const char* mod
407407
if (!g_pGame->GetRenderWare()->HasClothesFile(textureFile.c_str()))
408408
return false;
409409

410-
std::string modelFile = std::string(texture) + ".dff";
410+
std::string modelFile = std::string(model) + ".dff";
411411

412412
if (!g_pGame->GetRenderWare()->HasClothesFile(modelFile.c_str()))
413413
return false;

0 commit comments

Comments
 (0)