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
|
removeUsedEvents(TIME); //expiration trigger from just clicked element is not valid anymore
|
||||||
|
|
||||||
if(state == HERO || state == TOWN)
|
if(state == HERO || state == TOWN)
|
||||||
{
|
|
||||||
if(settings["gameTweaks"]["infoBarCreatureManagement"].Bool())
|
|
||||||
return;
|
|
||||||
|
|
||||||
showGameStatus();
|
showGameStatus();
|
||||||
}
|
|
||||||
else if(state == GAME)
|
else if(state == GAME)
|
||||||
showDate();
|
showDate();
|
||||||
else
|
else
|
||||||
|
@ -218,6 +218,7 @@ void EventDispatcher::handleLeftButtonClick(const Point & position, int toleranc
|
|||||||
i->clickReleased(position);
|
i->clickReleased(position);
|
||||||
|
|
||||||
i->mouseClickedState = isPressed;
|
i->mouseClickedState = isPressed;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user