From 215818ddedc02be3a1a5c2be3912abdbcd29dd72 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sun, 9 Sep 2018 18:28:04 +0200 Subject: detours etc --- internal_rewrite/lock_cursor.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'internal_rewrite/lock_cursor.cpp') diff --git a/internal_rewrite/lock_cursor.cpp b/internal_rewrite/lock_cursor.cpp index 1d4d0e2..6edb52a 100644 --- a/internal_rewrite/lock_cursor.cpp +++ b/internal_rewrite/lock_cursor.cpp @@ -1,8 +1,6 @@ #include "hooks.hpp" void __fastcall hooks::lock_cursor( void* ecx_, void* edx_ ) { - static auto lock_cursor_o = g_csgo.m_surface->get_old_function< decltype( &lock_cursor ) >( 67 ); - if( g_settings.menu.open || g_con->m_open ) { g_csgo.m_surface( )->UnlockCursor( ); return; -- cgit v1.2.3