Fix W/S ground net position strings.
This commit is contained in:
parent
1e403ae6dd
commit
3fc1bdff45
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue