1
0
Fork 0

Fix W/S ground net position strings.

This commit is contained in:
Stuart Buchanan 2020-07-26 20:20:28 +01:00
parent 1e403ae6dd
commit 3fc1bdff45

View file

@ -48,7 +48,7 @@ static double processPosition(const string &pos)
const auto degree = subs.substr(0, spacePos);
const auto decimal = subs.substr(spacePos, subs.length());
return sign * stoi(degree) + (stof(decimal) / 60.0);
return sign * (stoi(degree) + (stof(decimal) / 60.0));
}
FGGroundNetXMLLoader::FGGroundNetXMLLoader(FGGroundNetwork* net):