Added: search ryzom.png in path

hg/feature/sound
vl 15 years ago
parent bd86b6f29d
commit daedac045b

@ -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))

Loading…
Cancel
Save