mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-01 00:45:26 +02:00
Exchanging artifacts between slots should work again nicely. Minor fixes.
This commit is contained in:
@ -545,7 +545,12 @@ void CSpellWindow::keyPressed(const SDL_KeyboardEvent & key)
|
||||
{
|
||||
SDLKey hlpKey = key.keysym.sym;
|
||||
if(isNumKey(hlpKey, false))
|
||||
hlpKey = numToDigit(hlpKey);
|
||||
{
|
||||
if(hlpKey == SDLK_KP_PLUS)
|
||||
hlpKey = SDLK_EQUALS;
|
||||
else
|
||||
hlpKey = numToDigit(hlpKey);
|
||||
}
|
||||
|
||||
static const SDLKey spellSelectors[] = {SDLK_1, SDLK_2, SDLK_3, SDLK_4, SDLK_5, SDLK_6, SDLK_7, SDLK_8, SDLK_9, SDLK_0, SDLK_MINUS, SDLK_EQUALS};
|
||||
|
||||
|
Reference in New Issue
Block a user