Skip to content

Commit

Permalink
Fix Compile Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
caxanga334 committed Jun 7, 2024
1 parent 72cd986 commit f421e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/sdkports/sdk_traces.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ namespace trace
{
m_passEntity = pass;
m_collisiongroup = collisiongroup;
m_extraHitFunc = F;
m_extraHitFunc = extrafunc;
}

bool ShouldHitEntity(int entity, CBaseEntity* pEntity, edict_t* pEdict, const int contentsMask) override;
Expand All @@ -85,7 +85,7 @@ namespace trace
template <typename F>
void SetExtraFunc(F func)
{
m_extraHitFunc = F;
m_extraHitFunc = func;
}

void ClearExtraFunc() { m_extraHitFunc = nullptr; }
Expand Down

0 comments on commit f421e9b

Please sign in to comment.