@@ -136,7 +136,6 @@ CCore::CCore()
136136 m_pMouseControl = new CMouseControl ();
137137
138138 // Create our hook objects.
139- // m_pFileSystemHook = new CFileSystemHook ( );
140139 m_pDirect3DHookManager = new CDirect3DHookManager ();
141140 m_pDirectInputHookManager = new CDirectInputHookManager ();
142141 m_pMessageLoopHook = new CMessageLoopHook ();
@@ -210,7 +209,6 @@ CCore::~CCore()
210209
211210 // Delete hooks.
212211 delete m_pSetCursorPosHook;
213- // delete m_pFileSystemHook;
214212 delete m_pDirect3DHookManager;
215213 delete m_pDirectInputHookManager;
216214
@@ -839,12 +837,8 @@ void CCore::ApplyHooks()
839837 // Create our hooks.
840838 m_pDirectInputHookManager->ApplyHook ();
841839 // m_pDirect3DHookManager->ApplyHook ( );
842- // m_pFileSystemHook->ApplyHook ( );
843840 m_pSetCursorPosHook->ApplyHook ();
844841
845- // Redirect basic files.
846- // m_pFileSystemHook->RedirectFile ( "main.scm", "../../mta/gtafiles/main.scm" );
847-
848842 // Remove useless DirectPlay dependency (dpnhpast.dll) @ 0x745701
849843 // We have to patch here as multiplayer_sa and game_sa are loaded too late
850844 DetourLibraryFunction (" kernel32.dll" , " LoadLibraryA" , Win32LoadLibraryA, SkipDirectPlay_LoadLibraryA);
0 commit comments