Misc tweaks.
This commit is contained in:
parent
db7b3ec096
commit
59ccf90a60
3 changed files with 6 additions and 6 deletions
|
@ -698,7 +698,7 @@ int FGAutopilot::run() {
|
||||||
total_adj = -1.0;
|
total_adj = -1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
globals->get_controls()->set_elevator( total_adj );
|
globals->get_controls()->set_elevator_trim( total_adj );
|
||||||
}
|
}
|
||||||
|
|
||||||
// auto throttle
|
// auto throttle
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
USA or view http://www.gnu.org/copyleft/gpl.html.
|
USA or view http://www.gnu.org/copyleft/gpl.html.
|
||||||
|
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
#include <simgear/compiler.h> // to disable C4244 d to f warning
|
#include <simgear/compiler.h> // MSVC: to disable C4244 d to f warning
|
||||||
|
|
||||||
#include "uiuc_1Dinterpolation.h"
|
#include "uiuc_1Dinterpolation.h"
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ ParseFile :: ~ParseFile ()
|
||||||
|
|
||||||
void ParseFile :: removeComments(string& inputLine)
|
void ParseFile :: removeComments(string& inputLine)
|
||||||
{
|
{
|
||||||
unsigned int pos = inputLine.find_first_of(COMMENT);
|
int pos = inputLine.find_first_of(COMMENT);
|
||||||
|
|
||||||
if (pos != inputLine.npos) // a "#" exists in the line
|
if (pos != inputLine.npos) // a "#" exists in the line
|
||||||
{
|
{
|
||||||
|
@ -94,8 +94,8 @@ void ParseFile :: removeComments(string& inputLine)
|
||||||
|
|
||||||
string ParseFile :: getToken(string inputLine, int tokenNo)
|
string ParseFile :: getToken(string inputLine, int tokenNo)
|
||||||
{
|
{
|
||||||
unsigned int pos = 0;
|
int pos = 0;
|
||||||
unsigned int pos1 = 0;
|
int pos1 = 0;
|
||||||
int tokencounter = 0;
|
int tokencounter = 0;
|
||||||
|
|
||||||
while (tokencounter < tokenNo)
|
while (tokencounter < tokenNo)
|
||||||
|
@ -118,7 +118,7 @@ string ParseFile :: getToken(string inputLine, int tokenNo)
|
||||||
|
|
||||||
void ParseFile :: storeCommands(string inputLine)
|
void ParseFile :: storeCommands(string inputLine)
|
||||||
{
|
{
|
||||||
unsigned int pos;
|
int pos;
|
||||||
int pos1;
|
int pos1;
|
||||||
// int wordlength;
|
// int wordlength;
|
||||||
string line;
|
string line;
|
||||||
|
|
Loading…
Reference in a new issue