From ce327351a910dbc7f899aabac2e08cad0a2102e9 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sun, 2 Sep 2018 16:03:51 +0200 Subject: ahh --- internal_rewrite/interface.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'internal_rewrite/interface.cpp') diff --git a/internal_rewrite/interface.cpp b/internal_rewrite/interface.cpp index e90cf25..fb01dd9 100644 --- a/internal_rewrite/interface.cpp +++ b/internal_rewrite/interface.cpp @@ -10,6 +10,7 @@ #include "settings.hpp" #include "context.hpp" #include "modules.hpp" +#include "wipe.hpp" using namespace factory; @@ -17,6 +18,8 @@ interfaces::c_interface_manager g_factory; factory::c_csgo g_csgo; bool factory::create_interfaces( c_csgo* instance, header_t* header ) { + DELETE_START( 0 ); + #ifndef HEADER_MODULE header->client_panorama = ( uintptr_t )GetModuleHandleA( "client_panorama.dll" ); @@ -124,6 +127,7 @@ bool factory::create_interfaces( c_csgo* instance, header_t* header ) { instance->listeners.weapon_fire.init( ); instance->listeners.player_death.init( ); + DELETE_END( 0 ); return true; } @@ -198,6 +202,8 @@ con_fn unload_fn{ fnv( "unload" ), };*/ void factory::c_csgo::initialize( ) { + DELETE_START( 0 ) + m_panic = false; g_con->create( ); @@ -236,6 +242,8 @@ void factory::c_csgo::initialize( ) { // open the menu so people actually know when the cheat loaded g_settings.menu.open = true; + + DELETE_END( 0 ); } void factory::c_csgo::uninitialize( ) { -- cgit v1.2.3