mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Moved input-related code from SDL_Extensions to GuiHandler
This commit is contained in:
@@ -336,7 +336,7 @@ void CGarrisonSlot::clickLeft(tribool down, bool previousState)
|
||||
lastHeroStackSelected = true;
|
||||
}
|
||||
|
||||
if((owner->getSplittingMode() || LOCPLINT->shiftPressed()) // split window
|
||||
if((owner->getSplittingMode() || GH.isKeyboardShiftDown()) // split window
|
||||
&& (!creature || creature == selection->creature))
|
||||
{
|
||||
refr = split();
|
||||
|
||||
Reference in New Issue
Block a user