diff --git a/extensions/dhooks/dynhooks_sourcepawn.cpp b/extensions/dhooks/dynhooks_sourcepawn.cpp index 8170a7c21..0b4b87211 100644 --- a/extensions/dhooks/dynhooks_sourcepawn.cpp +++ b/extensions/dhooks/dynhooks_sourcepawn.cpp @@ -315,10 +315,10 @@ bool UpdateRegisterArgumentSizes(CHook* pDetour, HookSetup *setup) int argTypesOffset = 0; #ifdef DYNAMICHOOKS_x86_64 - if (setup->callConv == CallConv_THISCALL) { - argTypesOffset = 1; - --numArgs; - } + if (setup->callConv == CallConv_THISCALL) { + argTypesOffset = 1; + --numArgs; + } #endif for (int i = 0; i < numArgs; i++)