diff --git a/C/src/xplaneConnect.c b/C/src/xplaneConnect.c index 89b063c..b3fc4e4 100755 --- a/C/src/xplaneConnect.c +++ b/C/src/xplaneConnect.c @@ -268,7 +268,7 @@ int pauseSim(XPCSocket sock, char pause) if (pause < 0 || pause > 2) { printError("pauseSim", "Invalid argument: %i", pause); - return; + return -2; } // Setup command