mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 10:20:54 +00:00
Added: search ryzom.png in path
This commit is contained in:
parent
bd86b6f29d
commit
daedac045b
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