1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +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

@@ -342,7 +342,7 @@ CKeyShortcut::CKeyShortcut(std::set<int> Keys)
:assignedKeys(Keys)
{}
void CKeyShortcut::keyDown(const SDL_Keycode & key)
void CKeyShortcut::keyPressed(const SDL_Keycode & key)
{
if(vstd::contains(assignedKeys,key)
|| vstd::contains(assignedKeys, CGuiHandler::numToDigit(key)))