From 3b737a3c1faa37ceb3afe26744d3a41aabb98e88 Mon Sep 17 00:00:00 2001 From: vl Date: Mon, 26 Jul 2010 11:18:16 +0200 Subject: [PATCH] Added: search ryzom.png in path --- code/ryzom/client/src/init.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/ryzom/client/src/init.cpp b/code/ryzom/client/src/init.cpp index b403c5dd4..39c2b97df 100644 --- a/code/ryzom/client/src/init.cpp +++ b/code/ryzom/client/src/init.cpp @@ -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))