1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00
This commit is contained in:
Laserlicht 2024-07-19 03:28:33 +02:00
parent 76fc821f82
commit fb980bdb74

View File

@ -130,8 +130,10 @@ void InputHandler::handleCurrentEvent(const SDL_Event & current)
void InputHandler::setCurrentInputModi(InputModi modi)
{
if(currentInputModi != modi)
{
currentInputModi = modi;
GH.events().dispatchInputModiChanged(modi);
currentInputModi = modi;
}
}
InputModi InputHandler::getCurrentInputModi()