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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user