Updated offsets and fixed overlay issues due to the memory class not been able to get the hwnd correctly when starting the game
This commit is contained in:
@@ -108,6 +108,12 @@ bool pProcess::AttachWindow(const char* WindowName)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool pProcess::UpdateHWND()
|
||||
{
|
||||
hwnd_ = this->GetWindowHandleFromProcessId(pid_);
|
||||
return hwnd_ == nullptr;
|
||||
}
|
||||
|
||||
ProcessModule pProcess::GetModule(const char* lModule)
|
||||
{
|
||||
std::wstring wideModule;
|
||||
|
||||
Reference in New Issue
Block a user