X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FPerson.cpp;h=59994f890a4284b714593c85d3130db8ed4baa82;hb=a85869d3f9d2e627781068acc2595e8fa8a6aad9;hp=9e2bc9f4bf7d6cc01604ac4ba46ea205c54cc3b8;hpb=e7b76642d8998c250272a8313ad8aa7c7efff319;p=lugaru.git diff --git a/Source/Person.cpp b/Source/Person.cpp index 9e2bc9f..59994f8 100644 --- a/Source/Person.cpp +++ b/Source/Person.cpp @@ -26,6 +26,7 @@ along with Lugaru. If not, see . #include "Awards.h" #include "Game.h" #include "Dialog.h" +#include "Utils/Folders.h" extern float multiplier; extern Terrain terrain; @@ -6790,7 +6791,7 @@ bool Person::addClothes(const int& clothesId) //Load Image ImageRec texture; - bool opened = load_image(fileName, texture); + bool opened = load_image(Folders::getResourcePath(fileName).c_str(), texture); float alphanum; //Is it valid?