From 87426b7c25e455666b507bfa7427f630dd1975c7 Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Thu, 14 Jul 2022 00:42:35 +0200 Subject: [PATCH] Small fix --- src/client/component/input.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/component/input.cpp b/src/client/component/input.cpp index e1c98234..6ce036bd 100644 --- a/src/client/component/input.cpp +++ b/src/client/component/input.cpp @@ -54,7 +54,7 @@ namespace input cl_key_event_hook.invoke(local_client_num, key, down); } - void lui_cod_key_event_stub(const int local_client_num, const int a2, const int key, const int down) + void lui_cod_key_event_stub(const int local_client_num, const int a2, const int key, const int down, void* a5, void* a6) { const auto state = *game::hks::lua_state; if (game::LUI_BeginCachedEvent(local_client_num, down ? 3 : 4, state)) @@ -66,7 +66,7 @@ namespace input game::LUI_EndEvent(state); } - lui_cod_key_event_hook.invoke(local_client_num, a2, key, down); + lui_cod_key_event_hook.invoke(local_client_num, a2, key, down, a5, a6); } void cl_mouse_move_stub(const int local_client_num, int x, int y)