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/play_sound.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'internal_rewrite/play_sound.cpp') diff --git a/internal_rewrite/play_sound.cpp b/internal_rewrite/play_sound.cpp index 3042b02..542be24 100644 --- a/internal_rewrite/play_sound.cpp +++ b/internal_rewrite/play_sound.cpp @@ -1,8 +1,6 @@ #include "hooks.hpp" #include "base_cheat.hpp" void __fastcall hooks::play_sound( void* ecx_, void*, const char* file ) { - static auto play_sound_o = g_csgo.m_surface->get_old_function< decltype( &play_sound ) >( 82 ); - #ifdef HEADER_MODULE // static auto is_ready = g_header.patterns.is_ready; static auto is_ready = pattern::first_code_match( g_csgo.m_chl.dll( ), xors( "55 8B EC 83 E4 F8 83 EC 08 56 8B 35 00 00 00 00 57 83 BE" ), 0 ); -- cgit v1.2.3