Changed: Also check icon in same directory as executable

This commit is contained in:
kervala 2016-09-28 23:30:24 +02:00
parent 6b5596533b
commit 8611593f3a

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