diff options
Diffstat (limited to 'x-plane-plugin')
-rw-r--r-- | x-plane-plugin/plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/x-plane-plugin/plugin.c b/x-plane-plugin/plugin.c index bc9b013d..1c41daf0 100644 --- a/x-plane-plugin/plugin.c +++ b/x-plane-plugin/plugin.c @@ -205,9 +205,10 @@ PLUGIN_API OTR_COMPAT_EXPORT void XPluginStop ( void ) { } } -PLUGIN_API OTR_COMPAT_EXPORT void XPluginEnable ( void ) { +PLUGIN_API OTR_COMPAT_EXPORT int XPluginEnable ( void ) { XPLMRegisterFlightLoopCallback(write_head_position, -1.0, NULL); track_disabled = 0; + return 1; } PLUGIN_API OTR_COMPAT_EXPORT void XPluginDisable ( void ) { |