From b8035120def109d658808bbb6f616f99b814fc28 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 16 Apr 2023 01:23:38 +0200 Subject: [PATCH] Assign unused constructor parameter --- r5dev/game/shared/util_shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/game/shared/util_shared.cpp b/r5dev/game/shared/util_shared.cpp index e3b84806..ae31ffb7 100644 --- a/r5dev/game/shared/util_shared.cpp +++ b/r5dev/game/shared/util_shared.cpp @@ -28,7 +28,7 @@ CTraceFilterSimple::CTraceFilterSimple(const IHandleEntity* pPassEntity, int col void** pVTable = reinterpret_cast(&*this); // Assign vftable pointer to the implementation supplied by the engine. *pVTable = reinterpret_cast(g_pTraceFilterSimpleVFTable); - m_collisionGroup = 0; + m_collisionGroup = collisionGroup; m_pPassEntity = pPassEntity; m_traceType = 0; m_pExtraShouldHitCheckFunction = pExtraShouldHitCheckFn;