mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
quick army managment click next
This commit is contained in:
parent
e247c29269
commit
890c4ac19d
@ -295,12 +295,7 @@ void CInfoBar::clickReleased(const Point & cursorPosition)
|
||||
removeUsedEvents(TIME); //expiration trigger from just clicked element is not valid anymore
|
||||
|
||||
if(state == HERO || state == TOWN)
|
||||
{
|
||||
if(settings["gameTweaks"]["infoBarCreatureManagement"].Bool())
|
||||
return;
|
||||
|
||||
showGameStatus();
|
||||
}
|
||||
else if(state == GAME)
|
||||
showDate();
|
||||
else
|
||||
|
@ -218,6 +218,7 @@ void EventDispatcher::handleLeftButtonClick(const Point & position, int toleranc
|
||||
i->clickReleased(position);
|
||||
|
||||
i->mouseClickedState = isPressed;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user