aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/util/wininfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/util/wininfo.cpp')
-rw-r--r--NorthstarDLL/util/wininfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/util/wininfo.cpp b/NorthstarDLL/util/wininfo.cpp
index b0b77749..4fd64369 100644
--- a/NorthstarDLL/util/wininfo.cpp
+++ b/NorthstarDLL/util/wininfo.cpp
@@ -5,5 +5,5 @@ HMODULE g_NorthstarModule = 0;
ON_DLL_LOAD("engine.dll", WinInfo, (CModule module))
{
- g_gameHWND = module.Offset(0x7d88a0).As<HWND*>();
+ g_gameHWND = module.Offset(0x7d88a0).RCast<HWND*>();
}