From 8611593f3ade619864b88055aece9b62ff321493 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