mirror of
https://github.com/hermansimensen/eventqueue-fix.git
synced 2025-12-06 18:08:27 +00:00
Merge pull request #21 from rtldg/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bump to 1.3.1 with sm 1.11 fix
This commit is contained in:
commit
1c844d8a8a
@ -1,5 +1,16 @@
|
||||
"Games"
|
||||
{
|
||||
"#default"
|
||||
{
|
||||
"Offsets"
|
||||
{
|
||||
"LINUX"
|
||||
{
|
||||
"linux" "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
"csgo"
|
||||
{
|
||||
"Signatures"
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
#define PLUGIN_NAME "EventQueue fix"
|
||||
#define PLUGIN_AUTHOR "carnifex"
|
||||
#define PLUGIN_DESCRIPTION ""
|
||||
#define PLUGIN_VERSION "1.3.0"
|
||||
#define PLUGIN_VERSION "1.3.1"
|
||||
#define PLUGIN_URL ""
|
||||
|
||||
#include <sourcemod>
|
||||
@ -152,7 +152,10 @@ void LoadDHooks()
|
||||
SetFailState("Faild to find AddEventThree signature.");
|
||||
DHookAddParam(addEventThree, HookParamType_CharPtr);
|
||||
DHookAddParam(addEventThree, HookParamType_CharPtr);
|
||||
DHookAddParam(addEventThree, HookParamType_Object, 20, DHookPass_ByVal|DHookPass_ODTOR|DHookPass_OCTOR|DHookPass_OASSIGNOP);
|
||||
if (gamedataConf.GetOffset("LINUX") == 1)
|
||||
DHookAddParam(addEventThree, HookParamType_ObjectPtr);
|
||||
else
|
||||
DHookAddParam(addEventThree, HookParamType_Object, 20);
|
||||
DHookAddParam(addEventThree, HookParamType_Float);
|
||||
DHookAddParam(addEventThree, HookParamType_Int);
|
||||
DHookAddParam(addEventThree, HookParamType_Int);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user