mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
renamed keyDown -> keyPressed
This commit is contained in:
@@ -91,7 +91,7 @@ void CInGameConsole::print(const std::string &txt)
|
||||
}
|
||||
}
|
||||
|
||||
void CInGameConsole::keyDown (const SDL_Keycode & key)
|
||||
void CInGameConsole::keyPressed (const SDL_Keycode & key)
|
||||
{
|
||||
if(!captureAllKeys && key != SDLK_TAB) return; //because user is not entering any text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user