From f168dd17e26abf579f785a853d8f35d668e4da7d 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 --HG-- branch : develop --- 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