X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FPerson.cpp;h=3c9a123263d7e823068618b1900c02a28d1a946c;hb=f66f0e0b961dd138e4a60554373de9e64abd973b;hp=0d3913ef28a0e1415c8769089ef48c683e560447;hpb=af1d37a1d6e36f63c514c20dc6413e9d61146ec6;p=lugaru.git diff --git a/Source/Person.cpp b/Source/Person.cpp index 0d3913e..3c9a123 100644 --- a/Source/Person.cpp +++ b/Source/Person.cpp @@ -6839,7 +6839,7 @@ void Person::addClothes() bool Person::addClothes(const int& clothesId) { LOGFUNC; - const char* fileName = clothes[clothesId]; + const std::string fileName = clothes[clothesId]; GLubyte* array = &skeleton.skinText[0];