mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +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)
|
||||
{
|
||||
if(currentInputModi != modi)
|
||||
{
|
||||
currentInputModi = modi;
|
||||
GH.events().dispatchInputModiChanged(modi);
|
||||
currentInputModi = modi;
|
||||
}
|
||||
}
|
||||
|
||||
InputModi InputHandler::getCurrentInputModi()
|
||||
|
Loading…
x
Reference in New Issue
Block a user