1
0
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:
Michał W. Urbańczyk 2008-01-28 12:36:46 +00:00
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)
{