mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
general heroWindow improvements
This commit is contained in:
@@ -84,7 +84,8 @@ void AdventureMapButton<T>::clickLeft (tribool down)
|
||||
template <typename T>
|
||||
void AdventureMapButton<T>::clickRight (tribool down)
|
||||
{
|
||||
LOCPLINT->adventureInt->handleRightClick(helpBox,down,this);
|
||||
if(helpBox.size()) //there is no point to show window with nothing inside...
|
||||
LOCPLINT->adventureInt->handleRightClick(helpBox,down,this);
|
||||
}
|
||||
template <typename T>
|
||||
void AdventureMapButton<T>::hover (bool on)
|
||||
|
||||
Reference in New Issue
Block a user