mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 03:06:29 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user