Added: search ryzom.png in path

This commit is contained in:
vl 2010-07-26 11:18:16 +02:00
parent 48ef8b4fdd
commit b2b419ad5b

View file

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