mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Allow opening single hero when two heroes in town via shift+click
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user