summaryrefslogtreecommitdiffhomepage
path: root/Stars45/TrackIR.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-31 23:41:46 +0200
committerAki <please@ignore.pl>2022-03-31 23:41:46 +0200
commit8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e (patch)
treefa3ba288acb3f589e16700256ade2b25c73526c9 /Stars45/TrackIR.cpp
parentac54470e8aeddc2acf9ae215241c77a2bf7e33e3 (diff)
downloadstarshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.zip
starshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.tar.gz
starshatter-8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e.tar.bz2
Moved HINST and HWND from Game to GameWinDX9
Diffstat (limited to 'Stars45/TrackIR.cpp')
-rw-r--r--Stars45/TrackIR.cpp4
1 files changed, 2 insertions, 2 deletions
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");