Skip to content

Commit

Permalink
Fix regression. SDKHook_ReloadPost never firing
Browse files Browse the repository at this point in the history
The switch to vtable hooks typo'd the ReloadPost hooks.
  • Loading branch information
peace-maker authored and psychonic committed Jul 16, 2014
1 parent 77be859 commit d74204a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/sdkhooks/extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ bool SDKHooks::Hook_ReloadPost()
CBaseEntity *pEntity = META_IFACEPTR(CBaseEntity);

CVTableHook vhook(pEntity);
ke::Vector<CVTableList *> &vtablehooklist = g_HookList[SDKHook_Reload];
ke::Vector<CVTableList *> &vtablehooklist = g_HookList[SDKHook_ReloadPost];
for (size_t entry = 0; entry < vtablehooklist.length(); ++entry)
{
if (vhook != vtablehooklist[entry]->vtablehook)
Expand Down

0 comments on commit d74204a

Please sign in to comment.