Skip to content

Commit 1a0c145

Browse files
committed
fix more build errors
1 parent a5c05dd commit 1a0c145

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/cs2fixes.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ KHook::Return<void> CS2Fixes::Hook_CheckTransmit_Post(ISource2GameEntities* pThi
974974
const Entity2Networkable_t** pNetworkables, const uint16* pEntityIndicies, int nEntities, bool bEnablePVSBits)
975975
{
976976
if (!g_pEntitySystem || !GetGlobals())
977-
return;
977+
return {KHook::Action::Ignore};
978978

979979
VPROF("CS2Fixes::Hook_CheckTransmit");
980980

@@ -1129,7 +1129,7 @@ static_assert(sizeof(TouchLinked_t) == 240, "Touch_t size mismatch");
11291129
KHook::Return<void> CS2Fixes::Hook_PhysicsTouchShuffle_Post(CVPhys2World* pThis, CUtlVector<TouchLinked_t>* pList, bool unknown)
11301130
{
11311131
if (!g_cvarFixPhysicsPlayerShuffle.Get() || pList->Count() <= 1)
1132-
return;
1132+
return {KHook::Action::Ignore};
11331133

11341134
// [Kxnrl]
11351135
// seems it sorted by flags?
@@ -1152,7 +1152,7 @@ KHook::Return<void> CS2Fixes::Hook_PhysicsTouchShuffle_Post(CVPhys2World* pThis,
11521152
}
11531153

11541154
if (touchingLinks.size() <= 1)
1155-
return;
1155+
return {KHook::Action::Ignore};
11561156

11571157
for (size_t i = touchingLinks.size() - 1; i > 0; --i)
11581158
{

0 commit comments

Comments
 (0)