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