mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix for last commit
This commit is contained in:
parent
3e23b7e539
commit
78d4dd2821
@ -190,12 +190,6 @@ void hook_patch_obfuscated_iat_list(HMODULE hmod, BOOL unhook, HOOKLIST* hooks)
|
||||
}
|
||||
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)
|
||||
{
|
||||
DWORD op;
|
||||
|
Loading…
x
Reference in New Issue
Block a user