Add Recall feature to x86

This commit is contained in:
Kenzzer 2025-08-17 00:29:28 +00:00
parent db50642958
commit b802856e84
No known key found for this signature in database
GPG Key ID: 64C3FD4332686DC1
2 changed files with 5 additions and 5 deletions

View File

@ -197,7 +197,7 @@ KHook::Return<void> 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<void> 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<void> 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<void> 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 };
}

2
third_party/khook vendored

@ -1 +1 @@
Subproject commit b0c049598c5e627c4d21dd98b7e7adc8d372ebd4
Subproject commit 9cf0058b12b0bf2a80c20aa5eba1205172042120