1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

removed CAdvMapInt::handleRightClick method

This commit is contained in:
Ivan Savenko
2023-02-10 15:50:46 +02:00
parent d0f57fed6f
commit f8c1c46562
9 changed files with 27 additions and 29 deletions

View File

@@ -17,6 +17,7 @@
#include "../widgets/Images.h"
#include "../widgets/TextControls.h"
#include "../widgets/MiscWidgets.h"
#include "../windows/InfoWindows.h"
#include "../CGameInfo.h"
#include "../CMusicHandler.h"
#include "../CPlayerInterface.h"
@@ -234,7 +235,8 @@ void CInfoBar::clickLeft(tribool down, bool previousState)
void CInfoBar::clickRight(tribool down, bool previousState)
{
adventureInt->handleRightClick(CGI->generaltexth->allTexts[109], down);
if (down)
CRClickPopup::createAndPush(CGI->generaltexth->allTexts[109]);
}
void CInfoBar::hover(bool on)