Update veh.cpp

- remove redundant SymInitialize call
This commit is contained in:
pohky 2021-11-01 16:07:51 +01:00
parent c6024c723d
commit 18884ed805

View file

@ -250,8 +250,6 @@ bool veh::add_handler()
if (g_veh_handle)
return false;
g_veh_handle = AddVectoredExceptionHandler(0, exception_handler);
// init the symbol handler, the game already does it in WinMain but just in case
SymInitializeW(GetCurrentProcess(), nullptr, true);
return g_veh_handle != nullptr;
}