1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

fix for last commit

This commit is contained in:
FunkyFr3sh 2021-09-06 01:39:11 +02:00
parent 3e23b7e539
commit 78d4dd2821

View File

@ -190,12 +190,6 @@ void hook_patch_obfuscated_iat_list(HMODULE hmod, BOOL unhook, HOOKLIST* hooks)
} }
else else
{ {
if (first_thunk->u1.Function == (DWORD)hooks[i].data[x].new_function)
{
/* module already hooked -> return */
return;
}
if (first_thunk->u1.Function == org_function) if (first_thunk->u1.Function == org_function)
{ {
DWORD op; DWORD op;