From 8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 31 Mar 2022 23:41:46 +0200 Subject: Moved HINST and HWND from Game to GameWinDX9 --- Stars45/TrackIR.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/TrackIR.cpp') diff --git a/Stars45/TrackIR.cpp b/Stars45/TrackIR.cpp index fbe8108..87dd937 100644 --- a/Stars45/TrackIR.cpp +++ b/Stars45/TrackIR.cpp @@ -15,7 +15,7 @@ #include "NPClient.h" #include "NPClientWraps.h" -#include "Game.h" +#include "GameWinDX9.h" #include "Text.h" // +--------------------------------------------------------------------+ @@ -101,7 +101,7 @@ az(0), el(0), x(0), y(0), z(0) } // Register the app's window handle - result = NP_RegisterWindowHandle(Game::GetInstance()->GetHWND()); + result = NP_RegisterWindowHandle(GameWinDX9::GetInstance()->GetHWND()); if (result == NP_OK) { Print("NPClient - Window handle registration successful.\n"); -- cgit v1.1