Fixed overlay on x64

They are not longer available with GetWindowLong. There is a new function GetWindowLongPtr.
GWLP* must be used.
This commit is contained in:
Nemirtingas
2019-08-21 10:46:58 +02:00
parent 5a0653d080
commit 0fa2d82c67
2 changed files with 4 additions and 7 deletions

View File

@ -396,7 +396,7 @@ void Hook_Manager::create_hook(const char* libname)
bool Hook_Manager::stop_retry()
{
// Retry 200 times, we look for rendering functions so its actually: "retry for 200 frames"
// Retry or not
bool stop = ++_hook_retries >= max_hook_retries;
if (stop)