Improve js glue code in D1839/61e3f1ec0d (hotkey state fix) and deal with rebase leftovers.

The code could be improved by using more modern code.

Reviewed By: elexis
Differential Revision: https://code.wildfiregames.com/D2295
This was SVN commit r22963.
This commit is contained in:
wraitii
2019-09-22 07:38:13 +00:00
parent d96ac8ea24
commit d1bcce55db
5 changed files with 23 additions and 15 deletions
-1
View File
@@ -73,7 +73,6 @@ InReaction CGUI::HandleEvent(const SDL_Event_* ev)
if (m_GlobalHotkeys.count(hotkey) && ev->ev.type == SDL_HOTKEYDOWN)
{
HotkeyInputHandler(ev);
ret = IN_HANDLED;
JSContext* cx = m_ScriptInterface->GetContext();