mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 11:19:07 +00:00
Added: search ryzom.png in path
This commit is contained in:
parent
a28f31f33a
commit
3b737a3c1f
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue