1
0
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:
Ivan Savenko
2023-02-02 18:42:44 +02:00
parent b1821d4442
commit cfcaf5cbb6
23 changed files with 25 additions and 25 deletions

View File

@@ -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