Skip to content

Commit 1a6664b

Browse files
committed
"fix" another calloriginal
1 parent 644af85 commit 1a6664b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cs2fixes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,8 +732,8 @@ KHook::Return<void> CS2Fixes::Hook_PostEventAbstract(IGameEventSystem* pThis, CS
732732

733733
uint64 clientMask = *(uint64*)clients & g_playerManager->GetSilenceSoundMask();
734734

735-
// TODO: not doing something right with params
736-
//KHook::CallOriginal(&IGameEventSystem::PostEventAbstract, pThis, nSlot, bLocalOnly, nClientCount, &clientMask, pEvent, msg, nSize, bufType);
735+
// TODO: this crashes, borked in khook for some reason
736+
//KHook::CallOriginal<void (IGameEventSystem::*)(CSplitScreenSlot, bool, int, const uint64*, INetworkMessageInternal*, const CNetMessage*, unsigned long, NetChannelBufType_t)>(nullptr, pThis, nSlot, bLocalOnly, nClientCount, &clientMask, pEvent, msg, nSize, bufType);
737737

738738
msg->set_weapon_id(weapon_id);
739739
msg->set_sound_type(sound_type);

0 commit comments

Comments
 (0)