mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 07:16:15 +00:00
Added: search ryzom.png in path
This commit is contained in:
parent
48ef8b4fdd
commit
b2b419ad5b
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