diff options
Diffstat (limited to 'internal_rewrite/interface.cpp')
| -rw-r--r-- | internal_rewrite/interface.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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( ) {
|
