MSVC fix.
This commit is contained in:
parent
9cc4c619cc
commit
e2ce033a8c
1 changed files with 2 additions and 3 deletions
|
@ -51,11 +51,10 @@ Altimeter::Altimeter ( SGPropertyNode *node )
|
||||||
num(0),
|
num(0),
|
||||||
static_port("/systems/static")
|
static_port("/systems/static")
|
||||||
{
|
{
|
||||||
|
int i;
|
||||||
for (int i = 0; altitude_data[i][0] != -1; i++)
|
for (i = 0; altitude_data[i][0] != -1; i++)
|
||||||
_altitude_table->addEntry(altitude_data[i][0], altitude_data[i][1]);
|
_altitude_table->addEntry(altitude_data[i][0], altitude_data[i][1]);
|
||||||
|
|
||||||
int i;
|
|
||||||
for ( i = 0; i < node->nChildren(); ++i ) {
|
for ( i = 0; i < node->nChildren(); ++i ) {
|
||||||
SGPropertyNode *child = node->getChild(i);
|
SGPropertyNode *child = node->getChild(i);
|
||||||
string cname = child->getName();
|
string cname = child->getName();
|
||||||
|
|
Loading…
Add table
Reference in a new issue