From e8c5960882e070e36c5c5d4022e9b5d9b17e3a22 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Tue, 17 Oct 2017 14:44:28 +0300 Subject: [PATCH] Fixed: Image with tooltip did not expire. --HG-- branch : develop --- code/nel/src/gui/group_html.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp index c9977589f..7853ada77 100644 --- a/code/nel/src/gui/group_html.cpp +++ b/code/nel/src/gui/group_html.cpp @@ -4657,7 +4657,6 @@ namespace NLGUI if(!CFile::fileExists(normal)) { normal = "web_del.tga"; - addImageDownload(normalBitmap, ctrlButton, style); } else { @@ -4674,6 +4673,8 @@ namespace NLGUI normal = "web_del.tga"; } } + + addImageDownload(normalBitmap, ctrlButton, style); } } @@ -4698,10 +4699,7 @@ namespace NLGUI if (overBitmap != normalBitmap) { over = localImageName(overBitmap); - if (!CFile::fileExists(over)) - { - addImageDownload(overBitmap, ctrlButton, style, TImageType::OverImage); - } + addImageDownload(overBitmap, ctrlButton, style, TImageType::OverImage); } }