1
0
Fork 0

MSVC fix.

This commit is contained in:
ehofman 2004-11-07 14:23:48 +00:00
parent 2f13bafff5
commit 3420e23833

View file

@ -67,10 +67,10 @@ Encoder::Encoder(SGPropertyNode *node)
num(0),
staticPort("/systems/static")
{
for (int i = 0; altitude_data[i][0] != -1; i++)
int i;
for ( i = 0; altitude_data[i][0] != -1; i++ )
altitudeTable->addEntry(altitude_data[i][0], altitude_data[i][1]);
int i;
for ( i = 0; i < node->nChildren(); ++i ) {
SGPropertyNode *child = node->getChild(i);
string cname = child->getName();