mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
fix
This commit is contained in:
parent
76fc821f82
commit
fb980bdb74
@ -130,8 +130,10 @@ void InputHandler::handleCurrentEvent(const SDL_Event & current)
|
|||||||
void InputHandler::setCurrentInputModi(InputModi modi)
|
void InputHandler::setCurrentInputModi(InputModi modi)
|
||||||
{
|
{
|
||||||
if(currentInputModi != modi)
|
if(currentInputModi != modi)
|
||||||
|
{
|
||||||
|
currentInputModi = modi;
|
||||||
GH.events().dispatchInputModiChanged(modi);
|
GH.events().dispatchInputModiChanged(modi);
|
||||||
currentInputModi = modi;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
InputModi InputHandler::getCurrentInputModi()
|
InputModi InputHandler::getCurrentInputModi()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user