From bbd430bd1e6d1786831efc0a38995f3c94e0467c Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Sun, 20 Aug 2023 17:54:41 +0200 Subject: [PATCH] remove test code --- src/hook.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/hook.c b/src/hook.c index a0c9b3e..3392066 100644 --- a/src/hook.c +++ b/src/hook.c @@ -573,11 +573,6 @@ void hook_init(BOOL initial_hook) /* Switch to 3 if we can be sure that ddraw.dll will not be unloaded from the process */ g_hook_method = 3; } - - if (g_hook_method == 2) - { - //dinput_hook_init(); - } } if (!g_hook_active || g_hook_method == 3 || g_hook_method == 4)