From 4a7b86721a2259687ce2f5ed83486210f2e9a00c Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 28 Sep 2016 23:30:24 +0200 Subject: [PATCH] Changed: Also check icon in same directory as executable --- code/ryzom/client/src/init.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/ryzom/client/src/init.cpp b/code/ryzom/client/src/init.cpp index 7b1ca728f..f3935eed4 100644 --- a/code/ryzom/client/src/init.cpp +++ b/code/ryzom/client/src/init.cpp @@ -1211,6 +1211,12 @@ void prelogInit() } } + if (bitmaps.empty()) + { + // check if an icon is present in same directory as executable + addRyzomIconBitmap(Args.getProgramPath(), bitmaps); + } + if (bitmaps.empty()) { // check if an icon is present in current directory