Changed: Also check icon in same directory as executable

--HG--
branch : develop
This commit is contained in:
kervala 2016-09-28 23:30:24 +02:00
parent 9557aff2cc
commit f168dd17e2

View file

@ -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()) if (bitmaps.empty())
{ {
// check if an icon is present in current directory // check if an icon is present in current directory