]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.hxx
Multiplayer client/server system -- Fix building MPS enabled binary
[flightgear.git] / src / Main / globals.hxx
index 3104989b21e4cdf0757bd092ff99b06173850354..67dbf19fdfb0b27d8f1a3247a802b607387e5d8c 100644 (file)
@@ -220,7 +220,7 @@ public:
                             int initial_value = -1 );
 
     virtual void add_event (const char * name,
-                            const SGSubsystem * subsystem,
+                            SGSubsystem * subsystem,
                             int repeat_value,
                             int initial_value = -1 );
 
@@ -236,7 +236,7 @@ public:
 
     template< typename Fun >
     inline void add_event( const char * name,
-                           const SGSubsystem * subsystem,
+                           SGSubsystem * subsystem,
                            const Fun& func,
                            SGEvent::interval_type repeat_value,
                            SGEvent::interval_type initial_value = -1 )