Skip to content

Commit 9d1f2f9

Browse files
committed
Correct SDKHooks::Hook_GetGameDescription
1 parent 2b0843a commit 9d1f2f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/sdkhooks/extension.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ KHook::Return<const char*> SDKHooks::Hook_GetGameDescription(IServerGameDLL*)
10171017
cell_t result = Pl_Continue;
10181018

10191019
g_pSM->Format(szGameDesc, sizeof(szGameDesc), "%s",
1020-
KHook::Recall(&IServerGameDLL::GetGameDescription, KHook::Action<const char*>{ KHook::Action::Ignore, nullptr }, gamedll));
1020+
KHook::Recall(&IServerGameDLL::GetGameDescription, { KHook::Action::Ignore, nullptr }, gamedll));
10211021

10221022
// Call OnGetGameDescription forward
10231023
g_pOnGetGameNameDescription->PushStringEx(szGameDesc, sizeof(szGameDesc), SM_PARAM_STRING_COPY, SM_PARAM_COPYBACK);

0 commit comments

Comments
 (0)