summaryrefslogtreecommitdiff
path: root/internal_rewrite/send_datagram.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-09-09 18:28:04 +0200
committernavewindre <boneyaard@gmail.com>2018-09-09 18:28:04 +0200
commit215818ddedc02be3a1a5c2be3912abdbcd29dd72 (patch)
tree16453999d9380f43a6f436e491e63aa58ac7e764 /internal_rewrite/send_datagram.cpp
parent620f39df29fed446ab007e03c7b071f635379f1f (diff)
detours etc
Diffstat (limited to 'internal_rewrite/send_datagram.cpp')
-rw-r--r--internal_rewrite/send_datagram.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal_rewrite/send_datagram.cpp b/internal_rewrite/send_datagram.cpp
index 8a7b21b..7a86842 100644
--- a/internal_rewrite/send_datagram.cpp
+++ b/internal_rewrite/send_datagram.cpp
@@ -6,7 +6,6 @@
uintptr_t cl_sendmove = 0;
int __fastcall hooks::send_datagram( INetChannel* channel, void* edx_, void* datagram ) {
- auto send_datagram_o = g_csgo.m_net_channel->get_old_function< decltype( &hooks::send_datagram ) >( 46 );
if( g_csgo.m_panic || !g_settings.misc.net_fakelag || datagram ) {
return send_datagram_o( channel, 0, datagram );
}