1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Almost finished building of buildings.

This commit is contained in:
Michał W. Urbańczyk
2008-03-21 00:03:31 +00:00
parent db12ede837
commit 1e61235aa9
11 changed files with 155 additions and 25 deletions

View File

@@ -120,9 +120,9 @@ void AdventureMapButton<T>::clickRight (tribool down)
template <typename T>
void AdventureMapButton<T>::hover (bool on)
{
Hoverable::hover(on);
if(name.size()) //if there is no name, there is nohing to display also
{
Hoverable::hover(on);
if (on)
LOCPLINT->statusbar->print(name);
else if (LOCPLINT->statusbar->getCurrent()==name)