summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_sc/ftnoir_protocol_sc.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-03 11:50:41 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-03 12:05:28 +0200
commit6aa89934e8f22a580dc8a63cec61fb9ea9d14f23 (patch)
tree4e640cc9ff28c24e7cdd422884da5f18eb28b54e /ftnoir_protocol_sc/ftnoir_protocol_sc.h
parent2d0ecf757c91c12d9a73420c5f142b652b5e3d7c (diff)
simconnect: prevent crash with no .dll
Diffstat (limited to 'ftnoir_protocol_sc/ftnoir_protocol_sc.h')
-rw-r--r--ftnoir_protocol_sc/ftnoir_protocol_sc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftnoir_protocol_sc/ftnoir_protocol_sc.h b/ftnoir_protocol_sc/ftnoir_protocol_sc.h
index b65bac85..3ced16e5 100644
--- a/ftnoir_protocol_sc/ftnoir_protocol_sc.h
+++ b/ftnoir_protocol_sc/ftnoir_protocol_sc.h
@@ -126,6 +126,8 @@ private:
HANDLE hSimConnect; // Handle to SimConnect
static void CALLBACK processNextSimconnectEvent(SIMCONNECT_RECV* pData, DWORD cbData, void *pContext);
settings s;
+
+ bool should_start;
};
class SCControls: public IProtocolDialog