]> git.mxchange.org Git - flightgear.git/commitdiff
setState doesn't return a value
authorfredb <fredb>
Sun, 25 Apr 2010 16:11:30 +0000 (16:11 +0000)
committerTim Moore <timoore33@gmail.com>
Wed, 5 May 2010 10:00:47 +0000 (12:00 +0200)
src/ATC/trafficcontrol.hxx

index e7bb3f3e1ceaef27bbca516a50792ae93efcaf83..d069a5b84120af9e5fa2773b4f13383c0b3f7dde 100644 (file)
@@ -129,7 +129,7 @@ public:
   void setLeg(int lg) { leg = lg;};
   int getId() { return id;};
   int getState() { return state;};
-  int setState(int s) { state = s;}
+  void setState(int s) { state = s;}
   FGATCInstruction getInstruction() { return instruction;};
   bool hasInstruction() { return instruction.hasInstruction(); };
   void setPositionAndHeading(double lat, double lon, double hdg, double spd, double alt);