X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATC%2Ftrafficcontrol.hxx;h=d069a5b84120af9e5fa2773b4f13383c0b3f7dde;hb=7c73c7d3e58f60743f4b91d678b16d8e313a46de;hp=e7bb3f3e1ceaef27bbca516a50792ae93efcaf83;hpb=e004e43553e419bdfc4d9c8ee30971f30e5aa836;p=flightgear.git diff --git a/src/ATC/trafficcontrol.hxx b/src/ATC/trafficcontrol.hxx index e7bb3f3e1..d069a5b84 100644 --- a/src/ATC/trafficcontrol.hxx +++ b/src/ATC/trafficcontrol.hxx @@ -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);