mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 02:25:53 +00:00
fix for #34
This commit is contained in:
@@ -1631,7 +1631,7 @@ SetHook::setHook()
|
||||
return reserve;
|
||||
};
|
||||
|
||||
for (int i = 0; i < 4; ++i)
|
||||
for (int i = 0; i < hook::maxHookChainLength(); ++i)
|
||||
{
|
||||
if (oldHooks && i < oldHookCount)
|
||||
oldHookReserve += computeHookReserve(((*oldHooks).get())[i]);
|
||||
|
||||
Reference in New Issue
Block a user