This commit is contained in:
BotoX 2019-09-28 18:15:52 +02:00
parent 3fcd5824a4
commit 22d372ed6b

View File

@ -43,9 +43,9 @@ public void OnPluginStart()
DHookAddParam(g_hAcceptInput, HookParamType_Object, 20, DHookPass_ByVal|DHookPass_ODTOR|DHookPass_OCTOR|DHookPass_OASSIGNOP); //varaint_t is a union of 12 (float[3]) plus two int type params 12 + 8 = 20
DHookAddParam(g_hAcceptInput, HookParamType_Int);
hGameData = LoadGameConfigFile("FixGameUI.games");
hGameData = LoadGameConfigFile("FixVPhysicsCrush.games");
if(!hGameData)
SetFailState("Couldn't load FixGameUI gamedata.");
SetFailState("Couldn't load FixVPhysicsCrush gamedata.");
// CPhysicsObject::SetGameFlags(unsigned short)
StartPrepSDKCall(SDKCall_Raw);