mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-06 18:08:31 +00:00
Add Recall feature to x86
This commit is contained in:
parent
db50642958
commit
b802856e84
@ -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
2
third_party/khook
vendored
@ -1 +1 @@
|
||||
Subproject commit b0c049598c5e627c4d21dd98b7e7adc8d372ebd4
|
||||
Subproject commit 9cf0058b12b0bf2a80c20aa5eba1205172042120
|
||||
Loading…
Reference in New Issue
Block a user