Fix overrun generation, broken by last commit
This commit is contained in:
parent
d573b38430
commit
6a6052f2f5
1 changed files with 2 additions and 2 deletions
|
@ -106,11 +106,11 @@ void Runway::gen_runway_overrun( const TGPolygon& runway_half,
|
|||
int count=0;
|
||||
int i=0;
|
||||
|
||||
if (rwhalf == 1) {
|
||||
if (rwhalf == 0) {
|
||||
heading = rwy.heading + 180.0;
|
||||
overrun = rwy.overrun[0];
|
||||
}
|
||||
else if (rwhalf == 2) {
|
||||
else if (rwhalf == 1) {
|
||||
heading = rwy.heading;
|
||||
overrun = rwy.overrun[1];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue