mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-31 22:05:10 +02:00
Fixed your bug.
This commit is contained in:
parent
b1af2fb829
commit
a30a6bc507
@ -862,10 +862,11 @@ void LClickableAreaHero::clickLeft(boost::logic::tribool down)
|
||||
|
||||
void LRClickableAreaWTextComp::clickLeft(boost::logic::tribool down)
|
||||
{
|
||||
if(!down)
|
||||
if((!down) && pressedL)
|
||||
{
|
||||
LOCPLINT->showInfoDialog(text, std::vector<SComponent*>(1, new SComponent(SComponent::Etype(baseType), type, bonus)));
|
||||
}
|
||||
ClickableL::clickLeft(down);
|
||||
}
|
||||
void LRClickableAreaWTextComp::clickRight(boost::logic::tribool down)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user