1
0
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:
Laserlicht 2023-10-10 22:11:06 +02:00 committed by GitHub
parent e247c29269
commit 890c4ac19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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
{ {