]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/jssuper.cxx
Changes to keep the various autopilot properties from stepping on each
[flightgear.git] / src / Input / jssuper.cxx
index 4e1bf8059753d7c1808e156d8cd2fbe39922b999..a6d03f3d7d9e85bbebbc14b80ccc8c1d682989c1 100644 (file)
 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 
-#include <string.h>            // plib/js.h should really include this !!!!!!
-#include <plib/js.h>
-
-#include <jssuper.h>
+#include "jssuper.h"
 
 
 jsSuper::jsSuper(void) {
@@ -51,7 +48,7 @@ jsSuper::jsSuper(void) {
 
 
 int jsSuper::nextJoystick(void) { 
-  int i;
+  // int i;
   if(!activeJoysticks) return 0;
   if(currentJoystick == last ) return 0; 
   currentJoystick++;
@@ -60,7 +57,7 @@ int jsSuper::nextJoystick(void) {
 }    
         
 int jsSuper::prevJoystick(void) { 
-  int i;
+  // int i;
   if(!activeJoysticks) return 0; 
   if(currentJoystick == first ) return 0; 
   currentJoystick--;