diff --git a/samples/s1_sample_mm/src/sample_mm.cpp b/samples/s1_sample_mm/src/sample_mm.cpp index 55c9a79..570b6a4 100644 --- a/samples/s1_sample_mm/src/sample_mm.cpp +++ b/samples/s1_sample_mm/src/sample_mm.cpp @@ -197,7 +197,7 @@ KHook::Return SamplePlugin::Hook_ClientCommand(IServerGameClients*, edict_ helpers->CreateMessage(pEntity, DIALOG_MENU, kv, vsp_callbacks); kv->deleteThis(); - return { KHook::Action::Supercede }; + return { KHook::Action::Supersede }; } else if (strcmp(cmd, "rich") == 0) { @@ -209,7 +209,7 @@ KHook::Return SamplePlugin::Hook_ClientCommand(IServerGameClients*, edict_ helpers->CreateMessage(pEntity, DIALOG_TEXT, kv, vsp_callbacks); kv->deleteThis(); - return { KHook::Action::Supercede }; + return { KHook::Action::Supersede }; } else if (strcmp(cmd, "msg") == 0) { @@ -220,7 +220,7 @@ KHook::Return SamplePlugin::Hook_ClientCommand(IServerGameClients*, edict_ helpers->CreateMessage(pEntity, DIALOG_MSG, kv, vsp_callbacks); kv->deleteThis(); - return { KHook::Action::Supercede }; + return { KHook::Action::Supersede }; } else if (strcmp(cmd, "entry") == 0) { @@ -233,7 +233,7 @@ KHook::Return SamplePlugin::Hook_ClientCommand(IServerGameClients*, edict_ helpers->CreateMessage(pEntity, DIALOG_ENTRY, kv, vsp_callbacks); kv->deleteThis(); - return { KHook::Action::Supercede }; + return { KHook::Action::Supersede }; } return { KHook::Action::Ignore }; } diff --git a/third_party/khook b/third_party/khook index b0c0495..9cf0058 160000 --- a/third_party/khook +++ b/third_party/khook @@ -1 +1 @@ -Subproject commit b0c049598c5e627c4d21dd98b7e7adc8d372ebd4 +Subproject commit 9cf0058b12b0bf2a80c20aa5eba1205172042120