Add missing meta results to some pre-hooks in SDKHooks (nobug, r=me).
This commit is contained in:
parent
9d15512f3b
commit
097d2d902c
@ -1109,6 +1109,7 @@ int SDKHooks::Hook_OnTakeDamagePost(CTakeDamageInfoHack &info)
|
|||||||
void SDKHooks::Hook_PreThink()
|
void SDKHooks::Hook_PreThink()
|
||||||
{
|
{
|
||||||
Call(META_IFACEPTR(CBaseEntity), SDKHook_PreThink);
|
Call(META_IFACEPTR(CBaseEntity), SDKHook_PreThink);
|
||||||
|
RETURN_META(MRES_IGNORED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDKHooks::Hook_PreThinkPost()
|
void SDKHooks::Hook_PreThinkPost()
|
||||||
@ -1119,6 +1120,7 @@ void SDKHooks::Hook_PreThinkPost()
|
|||||||
void SDKHooks::Hook_PostThink()
|
void SDKHooks::Hook_PostThink()
|
||||||
{
|
{
|
||||||
Call(META_IFACEPTR(CBaseEntity), SDKHook_PostThink);
|
Call(META_IFACEPTR(CBaseEntity), SDKHook_PostThink);
|
||||||
|
RETURN_META(MRES_IGNORED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDKHooks::Hook_PostThinkPost()
|
void SDKHooks::Hook_PostThinkPost()
|
||||||
@ -1259,6 +1261,7 @@ void SDKHooks::Hook_StartTouchPost(CBaseEntity *pOther)
|
|||||||
void SDKHooks::Hook_Think()
|
void SDKHooks::Hook_Think()
|
||||||
{
|
{
|
||||||
Call(META_IFACEPTR(CBaseEntity), SDKHook_Think);
|
Call(META_IFACEPTR(CBaseEntity), SDKHook_Think);
|
||||||
|
RETURN_META(MRES_IGNORED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDKHooks::Hook_ThinkPost()
|
void SDKHooks::Hook_ThinkPost()
|
||||||
@ -1455,6 +1458,7 @@ void SDKHooks::OnEntityDeleted(CBaseEntity *pEntity)
|
|||||||
void SDKHooks::Hook_VPhysicsUpdate(IPhysicsObject *pPhysics)
|
void SDKHooks::Hook_VPhysicsUpdate(IPhysicsObject *pPhysics)
|
||||||
{
|
{
|
||||||
Call(META_IFACEPTR(CBaseEntity), SDKHook_VPhysicsUpdate);
|
Call(META_IFACEPTR(CBaseEntity), SDKHook_VPhysicsUpdate);
|
||||||
|
RETURN_META(MRES_IGNORED);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDKHooks::Hook_VPhysicsUpdatePost(IPhysicsObject *pPhysics)
|
void SDKHooks::Hook_VPhysicsUpdatePost(IPhysicsObject *pPhysics)
|
||||||
|
Loading…
Reference in New Issue
Block a user