Skip to content

Commit

Permalink
Speculative crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0k-z committed Nov 9, 2023
1 parent 0a7db04 commit 84bc6bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/detours.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ void FASTCALL Detour_CBaseTrigger_StartTouch(CBaseTrigger *this_, CBaseEntity *p
void FASTCALL Detour_CBaseTrigger_EndTouch(CBaseTrigger *this_, CBaseEntity *pOther)
{
CBaseTrigger_EndTouch(this_, pOther);


if (!pOther) return;
if (utils::IsEntityPawn(pOther))
{
if (IsEntTriggerMultiple((CBaseEntity *)this_))
Expand Down

0 comments on commit 84bc6bd

Please sign in to comment.