1
0
Fork 0

Initialise member variable

This commit is contained in:
fredb 2010-03-27 21:57:14 +00:00 committed by Tim Moore
parent 597df694e3
commit 1c7278b474

View file

@ -220,7 +220,8 @@ GPS::GPS ( SGPropertyNode *node) :
_num(node->getIntValue("number", 0)),
_computeTurnData(false),
_anticipateTurn(false),
_inTurn(false)
_inTurn(false),
_desiredCourse(0.0)
{
string branch = "/instrumentation/" + _name;
_gpsNode = fgGetNode(branch.c_str(), _num, true );