mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
Allow opening single hero when two heroes in town via shift+click
This commit is contained in:
parent
006fadb82c
commit
037ee4395e
@ -428,7 +428,7 @@ void CHeroGSlot::clickPressed(const Point & cursorPosition)
|
||||
{
|
||||
setHighlight(false);
|
||||
|
||||
if(other->hero)
|
||||
if(other->hero && !GH.isKeyboardShiftDown())
|
||||
LOCPLINT->showHeroExchange(hero->id, other->hero->id);
|
||||
else
|
||||
LOCPLINT->openHeroWindow(hero);
|
||||
|
Loading…
x
Reference in New Issue
Block a user