Added: search ryzom.png in path

This commit is contained in:
vl 2010-07-26 11:18:16 +02:00
parent bd86b6f29d
commit daedac045b

View file

@ -916,6 +916,9 @@ void prelogInit()
string fileName = "/usr/share/pixmaps/ryzom.png"; string fileName = "/usr/share/pixmaps/ryzom.png";
if(CPath::exists("ryzom.png"))
fileName = CPath::lookup("ryzom.png");
CIFile file; CIFile file;
if (file.open(fileName)) if (file.open(fileName))