1
0
Fork 0

Fix overrun generation, broken by last commit

This commit is contained in:
Christian Schmitt 2011-10-04 14:10:52 +02:00
parent d573b38430
commit 6a6052f2f5

View file

@ -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];
}