Permalink
Browse files

SDKHooks: Reset global hookid when unhooking in SH. (#916)

Fixes #912
  • Loading branch information...
KyleSanderson committed Oct 28, 2018
1 parent db99254 commit cb8d92edebafafc7056e593fd5c96947dbcdab62
Showing with 1 addition and 0 deletions.
  1. +1 −0 extensions/sdkhooks/extension.cpp
@@ -328,6 +328,7 @@ void SDKHooks::SDK_OnAllLoaded()
if (hook != 0) \
{ \
SH_REMOVE_HOOK_ID(hook); \
hook = 0; \
}

void SDKHooks::SDK_OnUnload()

0 comments on commit cb8d92e

Please sign in to comment.