aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/scriptbrowserhooks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/scriptbrowserhooks.cpp')
-rw-r--r--NorthstarDedicatedTest/scriptbrowserhooks.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/scriptbrowserhooks.cpp b/NorthstarDedicatedTest/scriptbrowserhooks.cpp
index 007bf412..138f821f 100644
--- a/NorthstarDedicatedTest/scriptbrowserhooks.cpp
+++ b/NorthstarDedicatedTest/scriptbrowserhooks.cpp
@@ -3,11 +3,10 @@
#include "scriptbrowserhooks.h"
#include "hookutils.h"
-typedef void (*OpenExternalWebBrowserType)(char* url, char flags);
-OpenExternalWebBrowserType OpenExternalWebBrowser;
-
bool* bIsOriginOverlayEnabled;
+typedef void (*OpenExternalWebBrowserType)(char* url, char flags);
+OpenExternalWebBrowserType OpenExternalWebBrowser;
void OpenExternalWebBrowserHook(char* url, char flags)
{
bool bIsOriginOverlayEnabledOriginal = *bIsOriginOverlayEnabled;